You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A typescript issue arises when using the library with React 18 and using the FormContext element with children. FormContext uses React.FC, which was changed in React 18 to require explicit definition of children. Will submit PR shortly.
Describe the bug
A typescript issue arises when using the library with React 18 and using the FormContext element with children. FormContext uses React.FC, which was changed in React 18 to require explicit definition of children. Will submit PR shortly.
https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions
To Reproduce
Steps to reproduce the behavior:
react-hook-form-jsonschema
Expected behavior
Pass children elements to FormControl element as in examples
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: