Closed yuchuan1 closed 7 years ago
Thank you! Is it possible to make prop-types
a devDependency
instead? This means it won't install when someone runsnpm install react-html5video
. It shouldn't be needed as we only publish the build distributable. After that I think this is all good to go!
Thanks :)
I do not think you update the npm library. I still see the warning.
DefaultPlayer.propTypes = {
copy: _react.PropTypes.object.isRequired,
controls: _react.PropTypes.arrayOf(_react.PropTypes.oneOf(controls)),
video: _react.PropTypes.object.isRequired
};
Could you check the npm library? I used react-html5video 2.1.0
Yea I've not published yet. Will do ASAP.
Fix #88 PropTypes deprecation warning