Skip to content

Commit 6a10523

Browse files
committed
docs(usage): add custom form id
1 parent ec89561 commit 6a10523

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
npm install @hookform/devtools -D
2121
```
2222

23-
3. Add `<Devtool control={control} />` in your code
24-
_This won't show devtools component anymore! Just for extension detect your form_
25-
4. Enjoy!
23+
3. Add [DevTool component](https://github.com/react-hook-form/devtools#quickstart) in your code
24+
_This won't show devtool component anymore! Just for extension detect your form_
25+
4. (Optional) Add custom form id: `<DevTool id="YourFormId" control={control} />`
26+
_If you don't add it manually, it will be auto generated by uuid_
27+
5. Enjoy!
2628

2729
## Development
2830

0 commit comments

Comments
 (0)