Methods
withNestedModifiers(Component) → {ReactElement}
Nested modifier drawer hook. Parse properties of nested modifier drawers and return the same component with additional properties.
Parameters:
Name | Type | Description |
---|---|---|
Component |
ReactElement | The Component from the parent nested drawer state. |
Returns:
The Return element (type from the selector).
- Type
- ReactElement
Type Definitions
Component
Properties:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties
|
The parent component.
Type:
- ReactElement
Return
Properties:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties
|
The returned component from withNestedModifiers.
Type:
- ReactElement