toomuchdesign/react-minimal-pie-chart

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

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

  1. ...
  2. ...
  3. ...

Specifications

  • Version: 8.0.1
  • Platform:
  • Subsystem:

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'