Sha256: 4fbe7a576dd015ffee1aa5756fc5e71e35fb359ad3bfaea63307ae21cbe39367

Contents?: true

Size: 652 Bytes

Versions: 5

Compression:

Stored size: 652 Bytes

Contents

module React
  module Component
    module Mixin
      def self.included(base)
        base.include(::Native::Wrapper)
        base.extend(::React::Component::NativeComponentConstructor)
        base.extend(::LucidPropDeclaration::Mixin)
        if on_browser? || on_ssr?
          base.include(::React::Component::Elements)
        elsif on_mobile?
          base.include(::ReactNative::Component::Elements)
        end
        base.include(::React::Component::Api)
        base.include(::React::Component::Callbacks)
        base.include(::React::Component::Initializer)
        base.include(::React::Component::Features)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
isomorfeus-react-16.13.11 lib/react/component/mixin.rb
isomorfeus-react-16.13.10 lib/react/component/mixin.rb
isomorfeus-react-16.13.9 lib/react/component/mixin.rb
isomorfeus-react-16.13.8 lib/react/component/mixin.rb
isomorfeus-react-16.13.7 lib/react/component/mixin.rb