UNPKG

react-minimal-pie-chart

Version:
4 lines (3 loc) 339 B
import type { BaseDataEntry, ExtendedData } from '../commonTypes'; import type { PropsWithDefaults as ChartProps } from './Chart'; export default function extendData<DataEntry extends BaseDataEntry>({ data, lengthAngle: totalAngle, totalValue, paddingAngle, startAngle: chartStartAngle, }: ChartProps<DataEntry>): ExtendedData<DataEntry>;