How to integrate Material-ui Rating with react-hook-form? #3109
-
Hi all, I use react and material-ui, I want to have a component from material-ui library. According the document , I did the following
However, I got an warning: index.js:1 Warning: Failed prop type: Invalid prop So, I guess, the Here is the sandbox code: https://codesandbox.io/s/thirsty-dream-2ur5y?file=/src/App.tsx Thanks very much for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
use |
Beta Was this translation helpful? Give feedback.
-
For those who using the latest version of react-hook-form, this is the one I used:
|
Beta Was this translation helpful? Give feedback.
use
render