module LucidApp::Mixin
Public Class Methods
included(base)
click to toggle source
# File lib/isomorfeus_react/lucid_app/mixin.rb, line 3 def self.included(base) base.include(::Native::Wrapper) base.extend(::LucidApp::NativeLucidComponentConstructor) if on_browser? || on_ssr? base.extend(::LucidApp::NativeComponentConstructor) base.include(::React::Component::Elements) elsif on_mobile? base.extend(::LucidApp::ReactNativeComponentConstructor) base.include(::ReactNative::Component::Elements) end base.extend(::LucidPropDeclaration::Mixin) base.include(::React::Component::Api) base.include(::React::Component::Callbacks) base.include(::LucidComponent::Api) base.include(::LucidComponent::StylesApi) base.include(::LucidApp::Api) base.include(::LucidComponent::Initializer) base.include(::React::Component::Features) end