UNPKG

@gooddata/react-components

Version:

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

23 lines (22 loc) 764 B
import * as React from "react"; import { ChartType } from "../../../../constants/visualizationTypes"; import { IPushpinCategoryLegendItem } from "../../../../interfaces/GeoChart"; interface IStaticLegendProps { chartType: ChartType; containerHeight: number; position: string; series: IPushpinCategoryLegendItem[]; shouldFillAvailableSpace?: boolean; onItemClick?(item: IPushpinCategoryLegendItem): void; } interface IStaticLegendState { page: number; } export default class StaticLegend extends React.PureComponent<IStaticLegendProps, IStaticLegendState> { constructor(props: any); showNextPage(): void; showPrevPage(): void; renderPaging(visibleItemsCount: number): JSX.Element; render(): JSX.Element; } export {};