Namespace: react
molecule.react
Enumerations
Classes
Interfaces
Type Aliases
ControllerObject
Ƭ ControllerObject: Object
Index signature
▪ [index: string
]: Controller
Defined in
ServiceObject
Ƭ ServiceObject: Object
Index signature
▪ [index: string
]: IComponent
Defined in
Functions
cloneReactChildren
▸ cloneReactChildren<P
>(children
, props
): React.ReactNode
Clone react children props
Type parameters
Name |
---|
P |
Parameters
Name | Type | Description |
---|---|---|
children | ReactNode | React.ReactNode |
props | P | Parent props |
Returns
React.ReactNode
Defined in
connect
▸ connect<T
>(Service
, View
, Controller?
): React.ComponentType
<T
>
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
Service | IComponent <any > | ServiceObject |
View | ComponentType <any > |
Controller? | Controller | ControllerObject |
Returns
React.ComponentType
<T
>