Replies: 1 comment 2 replies
-
take a look at the TS exmaple in the doc: https://codesandbox.io/s/react-hook-form-v6-controller-ts-4dpm9 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I have a component which returns <Controller {...props} as={} />
How can I provide correct props typings for my component? Right now I import internal type ControllerProps, but can't make it work.
Basically, the idea is to make props typing work like it working on component, with some additional types.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions