Import library issue. Standard way to import this "import PieChart from 'react-minimal-pie-chart';" or "import { PieChart } from 'react-minimal-pie-chart';"
Elaiya opened this issue ยท 1 comments
Elaiya commented
Do you want to request a feature or report a bug?
...
What is the current behaviour?
...
What is the expected behaviour?
...
Steps to Reproduce the Problem
- ...
- ...
- ...
Specifications
- Version: 8.0.1
- Platform:
- Subsystem:
toomuchdesign commented
From version 8, Chart component is exposed as a named export and is supposed to be imported like:
import { PieChart } from 'react-minimal-pie-chart'