Props for the ClearDataDialog component

interface ClearDataDialogProps {
    open: boolean;
    onOpenChange: (open: boolean) => void;
    onConfirm: () => Promise<void>;
}

Properties

open: boolean

Whether the dialog is currently visible

onOpenChange: (open: boolean) => void

Callback to control dialog visibility

onConfirm: () => Promise<void>

Callback function to execute when clearing is confirmed