chenglou / react-radio-group

Better radio buttons.
MIT License
445 stars 75 forks source link

React warning about propTypes #41

Closed fraserxu closed 7 years ago

fraserxu commented 7 years ago

Hi there, I've noticed that the latest version(3.0.1) published to npm is still using React.PropTypes even though the source code has been updated.

I believe it's because the code is not build properly before publishing?

Here you can check from the code compiled on npm is still referring to React.

https://unpkg.com/react-radio-group@3.0.1

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var Radio = _react2['default'].createClass({
  displayName: 'Radio',

  contextTypes: {
    radioGroup: _react2['default'].PropTypes.object
  },
nkbt commented 7 years ago

Sorry not released yet

-- Nik Butenko nik@butenko.me http://github.com/nkbt

fraserxu commented 7 years ago

@nkbt @chenglou Any plan on release it?

michaelryancaputo commented 7 years ago

Would be happy to help get this released if necessary.

chrisjpatty commented 7 years ago

Same, would be happy to help get this released if needed.

basicdays commented 7 years ago

I see the code fix was committed a month ago but not published yet. Are there any plans for the update to be released?

chenglou commented 7 years ago

Hello! Sorry for the delay. v3.0.2 has been released. Ping me if other issues pop up. Thanks!