Hi there,
When importing 'defaults' from react-chartjs-2
:
import {defaults, Line} from 'react-chartjs-2';
I get the following Typescript error:
Module /.../react-chartjs-2/index has no exported member 'defaults'
Looking at the project's index.d.ts
, it does not include the defaults
export. Was this done intentionally?
Thanks