ApprovalCard
Unpublished development API. This package is under development and is not available as a published release.
Inline approval panel with an app-authored body and explicit actions: a warning panel led by
"Waiting for your approval.", or a danger panel for a destructive action. Place it at the end of
the transcript, for example through Chat's approval slot. With presentation="dialog" the
same content opens as a modal instead.
import { ApprovalCard } from '@threadplane/react/chat';Declaration · overload 1
export declare function ApprovalCard(input: ApprovalCardProps): import("react/jsx-runtime").JSX.Element;Parameters
{ children, actions, title, disabled, destructive, autoFocus, presentation, onDismiss, className, }· requiredinput· requiredApprovalCardProps
Returns
import("react/jsx-runtime").JSX.Element