import { FormProvider as Form, UseFormReturn } from 'react-hook-form'; // ---------------------------------------------------------------------- type Props = { children: React.ReactNode; methods: UseFormReturn; onSubmit?: VoidFunction; }; export default function FormProvider({ children, onSubmit, methods }: Props) { return (
{children}
); }