Skip to main content
Version: Next

Namespace: react

molecule.react

Enumerations

Classes

Interfaces

Type Aliases

ControllerObject

Ƭ ControllerObject: Object

Index signature

[index: string]: Controller

Defined in

react/connector.tsx:12


ServiceObject

Ƭ ServiceObject: Object

Index signature

[index: string]: IComponent

Defined in

react/connector.tsx:8

Functions

cloneReactChildren

cloneReactChildren<P>(children, props): React.ReactNode

Clone react children props

Type parameters

Name
P

Parameters

NameTypeDescription
childrenReactNodeReact.ReactNode
propsPParent props

Returns

React.ReactNode

Defined in

react/helper.ts:8


connect

connect<T>(Service, View, Controller?): React.ComponentType<T>

Type parameters

NameType
Tany

Parameters

NameType
ServiceIComponent<any> | ServiceObject
ViewComponentType<any>
Controller?Controller | ControllerObject

Returns

React.ComponentType<T>

Defined in

react/connector.tsx:16