UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

21 lines (20 loc) 733 B
/// <reference types="react" /> import { IColorLegendBox, IHeatmapLegendLabel as IColorLegendLabel } from "./helpers"; import { IColorLegendItem } from "../../typings/legend"; export interface IColorLegendProps { data: IColorLegendItem[]; numericSymbols: string[]; position: string; isSmall?: boolean; format?: string; } interface IColorLabelsProps { labels: IColorLegendLabel[]; } interface IColorBoxesProps { boxes: IColorLegendBox[]; } export declare function ColorLabels(colorLabelProps: IColorLabelsProps): JSX.Element; export declare function ColorBoxes(colorBoxProps: IColorBoxesProps): JSX.Element; export declare function ColorLegend(colorLegendProps: IColorLegendProps): JSX.Element; export {};