This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { zodResolver } from "@hookform/resolvers/zod"; | |
| import { type UseFormProps, useForm } from "react-hook-form"; | |
| import { type z } from "zod"; | |
| /** | |
| * A wrapper around `useForm` that uses `zodResolver` as the resolver. | |
| * | |
| * @example | |
| * | |
| * const schema = z.object({ |
NewerOlder