| 1 | import type { ConfirmDialogRequest } from "./ConfirmDialog.types"; |
| 2 | |
| 3 | export interface MaterialConfirmDialogProps { |
| 4 | readonly request: Pick< |
| 5 | ConfirmDialogRequest, |
| 6 | "title" | "message" | "cancelText" | "confirmText" | "destructive" |
| 7 | >; |
| 8 | readonly inputInitialValue?: string; |
| 9 | readonly onInputChange?: (value: string) => void; |
| 10 | readonly confirmDisabled?: boolean; |
| 11 | readonly onCancel: () => void; |
| 12 | readonly onConfirm: (inputValue?: string) => void; |
| 13 | } |
| 14 | |
| 15 | export function MaterialConfirmDialog(_props: MaterialConfirmDialogProps) { |
| 16 | return null; |
| 17 | } |