ApprovalRecordProps
Unpublished development API. This package is under development and is not available as a published release.
The one-line record an answered approval leaves in the transcript: "Approved: Save note".
import type { ApprovalRecordProps } from '@threadplane/react/chat';Declaration
export interface ApprovalRecordProps {
readonly className?: string;
readonly label?: string;
readonly verdict: 'approved' | 'declined';
}Members
className
readonly className?: string;label
What was approved, such as "Save note". Omit for just "Approved" or "Declined".
readonly label?: string;verdict
readonly verdict: 'approved' | 'declined';