Skip to content

DownloadAction

Defined in: chat/src/features/dashboard/types.ts:40

Consumer-configurable item appended to the Download Data dropdown. Custom items render after the built-in actions, separated by a divider.

optional disabled?: boolean | ((ctx) => boolean)

Defined in: chat/src/features/dashboard/types.ts:49

When true (or a function returning true), the item is rendered as disabled. Defaults to false.


label: string

Defined in: chat/src/features/dashboard/types.ts:42

Text shown in the menu item.


onClick: (ctx) => void | Promise<void>

Defined in: chat/src/features/dashboard/types.ts:44

Invoked when the menu item is clicked. May be async.

DownloadActionContext

void | Promise<void>