OverflowMenuItem

Unpublished development API. This package is under development and is not available as a published release.

Menu option identified on selection, with a display label, optional disabled state, and visual tone.

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

Declaration

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

Members

disabled

readonly disabled?: boolean;

id

readonly id: string;

label

readonly label: string;

tone

readonly tone?: 'normal' | 'destructive';