I am trying to use dash-core-components in my react JS file, like below
// Code
import {Graph} from ‘dash-core-components’
export default class Symphony extends Component {
render() {
const {id, figure} = this.props;
return (
<Graph id={id} figure={figure}/>
}
}
I used ‘npm i dash-core-components’ to install js package.
I am new to react and do not understand how to use the components of dash-core-components in ReactJS file. I did not find any document, any help would be appreciated.
Thanks
Sourabh