Sha256: 9440e817f528182422ef604b3057496fd9696373a63fb5980edfcbee63317f42

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

module React
  module Component
    class Location
      include ::Native::Wrapper

      def initialize(native)
        @native = native
      end
      
      def method_missing(prop, *args, &block)
        @native.JS[:props].JS[:location].JS[prop]
      end

      def to_n
        @native
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
isomorfeus-react-16.13.12 lib/react/component/location.rb