import { FormControl, FormField, FormItem, FormLabel, FormMessage, Input, } from "@marzneshin/common/components"; import { useFormContext } from "react-hook-form"; import { useTranslation } from "react-i18next"; export const PathField = ({ label }: { label?: string }) => { const { t } = useTranslation(); const form = useFormContext(); return ( ( {label ?? t("path")} )} /> ); };