score:0

you have to import line as mentioned in example of react-chartjs

example code

import {line} from 'react-chartjs-2'; 

also you have to use bable for building this.


Related Query

More Query from same tag