import type { ReactNode } from 'react';

export interface DonutDataEntry {
  name: string;
  value: number;
  color?: string;
}

export interface DonutProps {
  data?: DonutDataEntry[];
  title?: string | ReactNode;
  subtitle?: string | ReactNode;
  size?: 'xsmall' | 'small' | 'large';
  half?: boolean;
  tooltip?: boolean;
  tooltipPostfix?: string;
}
