export interface ChartLegendItem { label: string; color: string; } interface ChartLegendProps { items: ChartLegendItem[]; } export function ChartLegend({ items }: ChartLegendProps) { return (