import { useTranslation } from "react-i18next"; import { FormControl, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; import type { UseFormReturn } from "react-hook-form"; import type { ProviderFormData } from "@/lib/schemas/provider"; interface BasicFormFieldsProps { form: UseFormReturn; } export function BasicFormFields({ form }: BasicFormFieldsProps) { const { t } = useTranslation(); return ( <> ( {t("provider.name")} )} /> ( {t("provider.websiteUrl")} )} /> ); }