TypeError: Cannot read property 'string' of undefined
Sunil-tc opened this issue · comments
Sunil tc commented
I'm getting below error.
I'm using,
"react": "^16.2.0",
"react-loading": "^1.0.3",
TypeError: Cannot read property 'string' of undefined
(anonymous function)
node_modules/react-loading/dist/react-loading.js:138
exports['default'] = Loading;
Loading.propTypes = {
color: _react.PropTypes.string,
delay: _react.PropTypes.number,
height: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.string]),
type: _react.PropTypes.string,
Marios Fakiolas commented
Marios Fakiolas commented
Now that width
and height
props are set explicitly to be numbers i think this issue is not valid anymore @Sunil-tc