Open kit426 opened 6 years ago
I'm getting the same thing. Currently running react 16.1.0
Same here as well. This only occurred after moving to React 16.
idem for me, react 16.1.0
i remove manually the props required and it's working for me. by hearing the fix ^^
I think this is because React.PropTypes has moved to a different package since 15.5. It says to use https://www.npmjs.com/package/prop-types instead.
I'm trying to add motionmenu to a new react project. When I add the following I get the following error. I've tried the both versions 0.3.0 and the latest but both give the same error. Am I doing something wrong?
`<MotionMenu type="circle" margin={120} y={0} x={0} >
`
ERROR: × TypeError: Cannot read property 'number' of undefined ./node_modules/react-motion-menu/lib/item.js C:/Users/Kristen/Desktop/Temp Pull From External Drive/Projects/WebApplication_SS/WebApplication_SS/react-app/node_modules/react-motion-menu/lib/item.js:165 162 | 163 | 164 | MenuItem.propTypes = {