react-minimal-pie-chart
Version:
Lightweight but versatile SVG pie/donut charts for React
5 lines (4 loc) • 323 B
TypeScript
import React from 'react';
import type { PropsWithDefaults as ChartProps } from './Chart';
import type { ExtendedData, BaseDataEntry } from '../commonTypes';
export default function renderLabels<DataEntry extends BaseDataEntry>(data: ExtendedData<DataEntry>, props: ChartProps<DataEntry>): React.JSX.Element[] | undefined;