import { FormDialog } from "@repo/shadcn-ui/components/form-dialog"; import type { ComponentProps } from "react"; import { useTranslation } from "react-i18next"; import { BrandForm } from "./brand-form"; export function BrandEditorDialog({ open, onOpenChange, ...formProps }: ComponentProps & { open: boolean; onOpenChange: (open: boolean) => void; }) { const { t } = useTranslation("assets"); return ( {formProps.quickCreate && (

{t("brands.quickNotice")}

)}
); }