import { FormDialog } from "@repo/rdx-ui/components/form-dialog"; import type { ComponentProps } from "react"; import { useTranslation } from "react-i18next"; import { TicketForm } from "../../shared"; export function InterventionTicketCreateDialog({ open, companyId, tickets, companies, technicians, onSaved, onOpenChange, }: { open: boolean; companyId: string; tickets: ComponentProps["data"]["tickets"]; companies: ComponentProps["data"]["companies"]; technicians: ComponentProps["data"]["technicians"]; onSaved: (id: string) => void; onOpenChange: (open: boolean) => void; }) { const { t } = useTranslation("companies"); return ( {open && ( )} ); }