Sha256: 92b56bcb1b89d5b46bdb065f68f6a66622df83407a64d1dddc4728ef6058e4b5

Contents?: true

Size: 435 Bytes

Versions: 71

Compression:

Stored size: 435 Bytes

Contents

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

      def method_missing(prop, *args, &block)
        @native.JS[:params].JS[prop]
      end

      def is_exact
        @native.JS[:isExact]
      end

      def params
        self
      end

      def path
        @native.JS[:path]
      end

      def url
        @native.JS[:url]
      end

      def to_n
        @native
      end
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
isomorfeus-react-16.12.5 lib/react/component/match.rb
isomorfeus-react-16.12.4 lib/react/component/match.rb
isomorfeus-react-16.12.3 lib/react/component/match.rb
isomorfeus-react-16.12.2 lib/react/component/match.rb
isomorfeus-react-16.12.1 lib/react/component/match.rb
isomorfeus-react-16.12.0 lib/react/component/match.rb
isomorfeus-react-16.11.4 lib/react/component/match.rb
isomorfeus-react-16.11.3 lib/react/component/match.rb
isomorfeus-react-16.11.2 lib/react/component/match.rb
isomorfeus-react-16.11.1 lib/react/component/match.rb
isomorfeus-react-16.11.0 lib/react/component/match.rb
isomorfeus-react-16.10.17 lib/react/component/match.rb
isomorfeus-react-16.10.16 lib/react/component/match.rb
isomorfeus-react-16.10.14 lib/react/component/match.rb
isomorfeus-react-16.10.13 lib/react/component/match.rb
isomorfeus-react-16.10.12 lib/react/component/match.rb
isomorfeus-react-16.10.11 lib/react/component/match.rb
isomorfeus-react-16.10.10 lib/react/component/match.rb
isomorfeus-react-16.10.9 lib/react/component/match.rb
isomorfeus-react-16.10.8 lib/react/component/match.rb