Open Sigfried opened 7 years ago
The package.json devDependencies include "react": "^0.13.3" (current react is 16.0.0 or something). I set up a new create-react-app app, added code from readme usage example. Getting:
"react": "^0.13.3"
create-react-app
TypeError: Cannot read property 'string' of undefined ./node_modules/react-mermaid/dist/react-mermaid.js node_modules/react-mermaid/dist/react-mermaid.js:21 18 | displayName: 'Mermaid', 19 | 20 | propTypes: { > 21 | name: _react2['default'].PropTypes.string 22 | }, 23 | 24 | getDefaultProps: function getDefaultProps() {
The package.json devDependencies include
"react": "^0.13.3"
(current react is 16.0.0 or something). I set up a newcreate-react-app
app, added code from readme usage example. Getting: