Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentActionConfirmDialogPropsBeta

    interface DocumentActionConfirmDialogProps {
        cancelButtonIcon?: ReactNode | ComponentType<{}>;
        cancelButtonText?: string;
        confirmButtonIcon?: ReactNode | ComponentType<{}>;
        confirmButtonText?: string;
        message: ReactNode;
        onCancel: () => void;
        onConfirm: () => void;
        tone?:
            | "default"
            | "neutral"
            | "primary"
            | "suggest"
            | "positive"
            | "caution"
            | "critical";
        type: "confirm";
    }
    Index

    Properties

    cancelButtonIcon?: ReactNode | ComponentType<{}>
    cancelButtonText?: string
    confirmButtonIcon?: ReactNode | ComponentType<{}>
    confirmButtonText?: string
    message: ReactNode
    onCancel: () => void
    onConfirm: () => void
    tone?:
        | "default"
        | "neutral"
        | "primary"
        | "suggest"
        | "positive"
        | "caution"
        | "critical"
    type: "confirm"