Skip to content

Update PieSectorDataItem import to use public API path after npm publish #6535

Description

@coderabbitai

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions