react-cytoscape icon indicating copy to clipboard operation
react-cytoscape copied to clipboard

Documented import statement does not work

Open pmeijer opened this issue 6 years ago • 0 comments

In the README it says: import ReactCytoscape from 'react-cytoscape'; however for it to work (at least for me) it needs to be: import {ReactCytoscape} from 'react-cytoscape';

Or make sure to export default in the index file.

pmeijer avatar Apr 10 '18 17:04 pmeijer