Type Definitions
ActionState
Action state
Properties:
Name | Type | Description |
---|---|---|
disabled |
boolean | Whether any of the tracked actions is disabled currently |
ActionStateListenerProps
Properties of ActionStateListener.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
action |
string | Array.<string> | Action or array of actions to track | |
payload |
Actions.MatchActionPayload |
<optional> |
Action payload to search for (uses shallow compare). Can also be a callback function |
children |
ActionStateListener.ChildrenCallback | Children |
ChildrenCallback() → {React.ReactNode}
Render props callback
Properties:
Name | Type | Description |
---|---|---|
actionState |
ActionStateListener.ActionState | Action state for matched actions |
React.ReactNode