facebook/prop-types

_propTypes.default.shapeOf is not a function

abhishekdubey1 opened this issue · 1 comments

Screenshot Capture - 2022-02-03 - 14-46-41

Can't figure out what the problem is
Below is the codesandbox to see the code producing this error
I am using following packages and versions:
"prop-types": "15.8.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "4.0.0"

shapeOf has never existed. You want shape or objectOf.