From 68fcaf9bfc1d8e6daba2fa41836d5ff61997e7d7 Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Fri, 5 Jun 2026 19:11:27 +0530 Subject: [PATCH] feat(renderer): ExportDialogFooter (shared cancel/export row) --- .../components/modals/ExportDialogFooter.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/renderer/components/modals/ExportDialogFooter.tsx diff --git a/src/renderer/components/modals/ExportDialogFooter.tsx b/src/renderer/components/modals/ExportDialogFooter.tsx new file mode 100644 index 0000000..dca8015 --- /dev/null +++ b/src/renderer/components/modals/ExportDialogFooter.tsx @@ -0,0 +1,23 @@ +import { Button } from '@/components/ui/button'; +import { DialogFooter } from '@/components/ui/dialog'; + +interface Props { + onCancel: () => void; + onSubmit: () => void; + submitting: boolean; + submitLabel: string; + submitDisabled?: boolean; +} + +export function ExportDialogFooter({ onCancel, onSubmit, submitting, submitLabel, submitDisabled }: Props) { + return ( + + + + + ); +} \ No newline at end of file