Module: React::FunctionComponent::Mixin

Defined in:
lib/react/function_component/mixin.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/react/function_component/mixin.rb', line 4

def self.included(base)
  base.include(::React::Component::Elements)
  base.include(::React::Component::Features)
  base.include(::React::FunctionComponent::Initializer)
  base.include(::React::FunctionComponent::API)
  base.include(::React::FunctionComponent::Resolution)
  base.extend(::React::FunctionComponent::EventHandler)
  base.extend(::React::FunctionComponent::NativeComponentConstructor)
end