UNPKG

react-minimal-pie-chart

Version:
5 lines (4 loc) 345 B
import React from 'react'; import type { ExtendedData, BaseDataEntry } from '../commonTypes'; import type { PropsWithDefaults as ChartProps } from './Chart'; export default function renderSegments<DataEntry extends BaseDataEntry>(data: ExtendedData<DataEntry>, props: ChartProps<DataEntry>, revealOverride?: null | number): React.JSX.Element[];