Skip to content

Interface RadioActionProps

Source: RadioAction.tsx

Extends

Properties

actionId?

optional actionId: string

ID of the action.

Inherited from

ActionProps.actionId


label?

optional label: string

Label of the action.

Inherited from

ActionProps.label


icon?

optional icon: string | object

Icon for the action.

Inherited from

ActionProps.icon


shortcut?

optional shortcut: string[]

Keyboard shortcut for the action.

Inherited from

ActionProps.shortcut


onTrigger()?

optional onTrigger: (event?: Event, triggerParams?: unknown, ...args: unknown[]) => void

Function that handles the trigger event for the action.

Parameters

event?

Event

triggerParams?

unknown

args?

...unknown[]

Returns

void

Inherited from

ActionProps.onTrigger


children?

optional children: ReactNode

Inherited from

ActionProps.children


disabled?

optional disabled: boolean

Whether the action should be disabled.

Inherited from

ActionProps.disabled


options

options: { label: string; shortcut?: string[]; }[]

label

label: string

shortcut?

optional shortcut: string[]


initialIndex

initialIndex: number

Built by Prozilla