ssanjun / react-swing

react-swing is a React component for implementing swing
http://ssanjun.github.io/examples/react-swing/
Other
40 stars 18 forks source link

Unknown prop type warning when using event props #5

Closed makenai closed 7 years ago

makenai commented 7 years ago
warning.js:36Warning: Unknown prop `dragmove` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in div (created by Swing)
    in Swing (created by CardStack)
    in CardStack (created by Simulator)
    in div (created by Simulator)
    in Simulator
    in Provider

Looks like the event ones need to be added to proptypes?

bogdan-calapod commented 7 years ago

Seems that the same problem is occurring with throwoutleft and throwoutright

ssanjun commented 7 years ago

react-swing update to 1.0.0 check this commit

thanks.