Skip to content

Interface ToggleActionProps

Source: ToggleAction.tsx

Extends

Properties

actionId?

optional actionId: string

ID of the action

Inherited from

ActionProps.actionId


children?

optional children: ReactNode

Inherited from

ActionProps.children


disabled?

optional disabled: boolean

Whether the action should be disabled

Inherited from

ActionProps.disabled


icon?

optional icon: string | object

Icon for the action

Inherited from

ActionProps.icon


initialValue

initialValue: boolean


label?

optional label: string

Label of the action

Inherited from

ActionProps.label


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


shortcut?

optional shortcut: string[]

Keyboard shortcut for the action

Inherited from

ActionProps.shortcut

Built by Prozilla