MessageAction
Unpublished development API. This package is under development and is not available as a published release.
An explicitly authored action; IDs must be unique within the group.
import type { MessageAction } from '@threadplane/react/chat';Declaration
export interface MessageAction {
readonly disabled?: boolean;
readonly id: string;
readonly label: string;
readonly onSelect: () => void;
}Members
disabled
readonly disabled?: boolean;id
readonly id: string;label
readonly label: string;onSelect
readonly onSelect: () => void;