SelectOption

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

A selectable value and literal label with an optional description and disabled state. Values are unique within one select.

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

Declaration

export interface SelectOption  {
  readonly description?: string;
  readonly disabled?: boolean;
  readonly label: string;
  readonly value: string;
}

Members

description

readonly description?: string;

disabled

readonly disabled?: boolean;

label

readonly label: string;

value

readonly value: string;