react-cytoscape
react-cytoscape copied to clipboard
Documented import statement does not work
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.