mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-02 17:08:39 +00:00
docs(www): update react-hook-form.mdx (#378)
Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
@@ -76,7 +76,7 @@ const form = useForm()
|
||||
1. Install the following dependencies:
|
||||
|
||||
```sh
|
||||
npm install react-hook-form zod @hookform/resolvers
|
||||
npm install react-hook-form zod @hookform/resolvers @radix-ui/react-slot
|
||||
```
|
||||
|
||||
2. Copy and paste the following `<Form />` component to your app.
|
||||
|
||||
Reference in New Issue
Block a user