Interface RadioActionProps
Source: RadioAction.tsx
Param
Param
Param
Param
Param
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
initialIndex
initialIndex:
number
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
options
options: {
label:string;shortcut?:string[]; }[]
label
label:
string
shortcut?
optionalshortcut:string[]
shortcut?
optionalshortcut:string[]
Keyboard shortcut for the action