import { ClassName } from "@helpers/types"; export interface LegendProps extends ClassName { entries: ILegendEntry[]; shape?: TLegendShape; background?: string; orientation?: "horizontal" | "vertical"; } export interface ILegendEntry { label: string; value?: string | number; bgColorClass: string; } export interface LegendEntryProps extends Pick { entry: ILegendEntry; } export type TLegendShape = "circle" | "rounded" | "square";