import { useState } from 'react'; import { Trans } from '@lingui/macro'; import { Loader } from 'lucide-react'; import type { ButtonProps } from '../button'; import { Button } from '../button'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from '../dialog'; export type SendDocumentActionDialogProps = ButtonProps & { loading?: boolean; }; export const SendDocumentActionDialog = ({ loading, className, ...props }: SendDocumentActionDialogProps) => { const [open, setOpen] = useState(false); return ( Send Document You are about to send this document to the recipients. Are you sure you want to continue? {/* We would use DialogAction here but it interrupts the submit action */} ); };