import React from 'react'; import { Intergalactic } from 'intergalactic/core'; import { Flex } from 'intergalactic/flex-box'; import { ScaleLinear } from 'd3-scale'; import { BaseChartProps } from './AbstractChart.type'; export type DonutChartData = Record; export type DonutChartProps = BaseChartProps & { groupKey?: never; xScale?: ScaleLinear; yScale?: ScaleLinear; innerRadius?: number; halfsize?: boolean; innerLabel?: React.ReactNode; }; export type DonutChartType = Intergalactic.Component;