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
Expected behavior: innerRef takes React.createRef() as valid propType.
Describe the bug:
I am using react 16 refs api, and passing ref to styled component. But since React.createRef() returns an object, and component's prop innerRef expected to be function, propTypes warning occurs.
Failed prop type: Invalid prop `innerRef` of type `object` supplied to `Jss(TabPicker)`, expected `function`.
Versions (please complete the following information):
jss: latest
The text was updated successfully, but these errors were encountered:
Expected behavior:
innerRef
takesReact.createRef()
as valid propType.Describe the bug:
I am using react 16 refs api, and passing ref to styled component. But since
React.createRef()
returns an object, and component's propinnerRef
expected to be function, propTypes warning occurs.Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: