@threadplane/chatInterfacev0.3.4

OverflowMenuItem

An action menu item with an identifier, label, optional tone, and disabled state.

import type { OverflowMenuItem } from '@threadplane/chat';

Declaration

export interface OverflowMenuItem  {
  disabled?: boolean;
  id: string;
  label: string;
  tone?: 'normal' | 'destructive';
}

Members

disabled

Disabled items render muted and ignore clicks/keypresses.

disabled?: boolean;

id

Stable id emitted via (itemSelected).

id: string;

label

label: string;

tone

'destructive' renders the label in red. Default 'normal'.

tone?: 'normal' | 'destructive';