Description
After PR #6533 is merged and published to npm, update the import path for PieSectorDataItem in the PieChartWithNeedle example to use the public API.
Location
www/src/docs/exampleComponents/PieChart/PieChartWithNeedle.tsx (line 2)
Current Import
import { PieSectorDataItem } from 'recharts/types/polar/Pie';
Desired Import
import { PieSectorDataItem } from 'recharts';
Context
The PieSectorDataItem type is being added to the public API in PR #6533 and is exported from src/index.ts. However, the example currently uses an internal import path because the changes haven't been published to npm yet.
References
Description
After PR #6533 is merged and published to npm, update the import path for
PieSectorDataItemin the PieChartWithNeedle example to use the public API.Location
www/src/docs/exampleComponents/PieChart/PieChartWithNeedle.tsx(line 2)Current Import
Desired Import
Context
The
PieSectorDataItemtype is being added to the public API in PR #6533 and is exported fromsrc/index.ts. However, the example currently uses an internal import path because the changes haven't been published to npm yet.References