Interface ActionProps
Source: Actions.tsx
Extended by
Properties
actionId?
optionalactionId?:string
ID of the action.
label?
optionallabel?:string
Label of the action.
icon?
optionalicon?:string|object
Icon for the action.
shortcut?
optionalshortcut?:string[]
Keyboard shortcut for 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
children?
optionalchildren?:ReactNode
disabled?
optionaldisabled?:boolean
Whether the action should be disabled.