Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'string' of undefined #4

Open
zdrsoft opened this issue Oct 22, 2018 · 0 comments
Open

Uncaught TypeError: Cannot read property 'string' of undefined #4

zdrsoft opened this issue Oct 22, 2018 · 0 comments

Comments

@zdrsoft
Copy link

zdrsoft commented Oct 22, 2018

Here is listed the error:

Uncaught TypeError: Cannot read property 'string' of undefined
at Object../node_modules/react-expandable-grid/lib/index.js (bundle.js:139247)
at webpack_require (bundle.js:679)
at fn (bundle.js:89)
at Object. (bundle.js:1619)

ReactExpandableGrid.propTypes = {
gridData: _react2['default'].PropTypes.string,
cellSize: _react2['default'].PropTypes.number,
cellMargin: _react2['default'].PropTypes.number,
bgColor: _react2['default'].PropTypes.string,

The problem is in PropTypes for reactJs v16 and above.
"Note: React.PropTypes is deprecated as of React v15.5. Please use the prop-types library instead."
Please, update the code using the separated prop-types library.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant