Props for the ClearStatisticsDialog component

interface ClearStatisticsDialogProps {
    open: boolean;
    onOpenChange: (open: boolean) => void;
    onClear: () => void;
    clearing: boolean;
}

Properties

open: boolean

Whether the dialog is currently visible

onOpenChange: (open: boolean) => void

Callback to control dialog visibility

onClear: () => void

Callback function to execute when clearing is confirmed

clearing: boolean

Whether the clearing operation is currently in progress