ApprovalCardAction
Unpublished development API. This package is under development and is not available as a published release.
One explicitly authored presentation action; IDs must be unique per card.
import type { ApprovalCardAction } from '@threadplane/react/chat';Declaration
export interface ApprovalCardAction {
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;