import { FormField, FormItem, FormLabel, Checkbox, FormControl, } from "@marzneshin/common/components"; import { useFormContext } from "react-hook-form"; export const CheckboxField = ({ name, label }: { name: string, label: string }) => { const form = useFormContext(); return ( (
{label}
)} /> ) }