Interface ActionProps
Source: Actions.tsx
Extended by
Properties
actionId?
optionalactionId:string
ID of the action
children?
optionalchildren:ReactNode
disabled?
optionaldisabled:boolean
Whether the action should be disabled
icon?
optionalicon:string|object
Icon for the action
label?
optionallabel:string
Label of the action
onTrigger()?
optionalonTrigger: (event?:Event,triggerParams?:unknown, ...args:unknown[]) =>void
Function that handles the trigger event for the action
Parameters
event?
triggerParams?
unknown
args?
...unknown[]
Returns
void
shortcut?
optionalshortcut:string[]
Keyboard shortcut for the action