ConfirmDialog

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

Controlled synchronous intent dialog; callers own operations and pending state.

import { ConfirmDialog } from '@threadplane/react/chat';

Declaration · overload 1

export declare function ConfirmDialog(input: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;

Parameters

{ open, title, onConfirm, onCancel, body, confirmLabel, cancelLabel, tone, pending, className, returnFocusTo, } · required
input · required
ConfirmDialogProps

Returns

import("react/jsx-runtime").JSX.Element