diff --git a/src/content/docs/useformstate/formstate.mdx b/src/content/docs/useformstate/formstate.mdx index 077f0990e..ce95db6c8 100644 --- a/src/content/docs/useformstate/formstate.mdx +++ b/src/content/docs/useformstate/formstate.mdx @@ -35,8 +35,13 @@ This component was previously documented as `FormStateSubscribe`, renamed to `Fo ```tsx copy sandbox="" import { useForm, FormState } from "react-hook-form" +type FormValues = { + foo: string + bar: string +} + const App = () => { - const { register, control } = useForm() + const { register, control } = useForm() return (