ContextMenuLabelCallbackΒΆ

Type Alias ContextMenuLabelCallback

ContextMenuLabelCallback: (info: ContextMenuCallbackInfo) => Promise<string>

Specifies a callback function which is executed before the context menu opens and can be used to set a dynamic label for an entry.

Type declaration