Sha256: ec0840341c393fac10a78d21e3f0c246c4be84900d678f931410a0f9cd614e60
Contents?: true
Size: 541 Bytes
Versions: 5
Compression:
Stored size: 541 Bytes
Contents
module React module FunctionComponent module Mixin def self.included(base) if on_browser? || on_ssr? base.include(::React::Component::Elements) elsif on_mobile? base.include(::ReactNative::Component::Elements) end base.include(::React::Component::Features) base.include(::React::FunctionComponent::Initializer) base.include(::React::FunctionComponent::Api) base.extend(::React::FunctionComponent::NativeComponentConstructor) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems