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