Trigger
Typedefs
Trigger ⇒ React.Element
A component that will trigger a given action.
Kind: global functional component
Returns: React.Element
- A React component that when triggered invokes the action.
Param | Type | Description |
---|---|---|
props | props |
React component props |
props
Props for Trigger
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
action | function |
the handler for on the onClick event handler. |
children | ReactNodeLike |
any elements that will be child elements inside the root container. |
classes | Object |
An object containing the class names for the Trigger component. |
classes.root | string |
classes for root container |
For implementation details View Source.