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.
Properties
Section titled “Properties”disabled?
Section titled “disabled?”
optionaldisabled?: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
Section titled “onClick”onClick: (
ctx) =>void|Promise<void>
Defined in: chat/src/features/dashboard/types.ts:44
Invoked when the menu item is clicked. May be async.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void | Promise<void>