UNPKG

@gooddata/react-components

Version:

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

18 lines (17 loc) 702 B
/// <reference types="react" /> import { VisualizationInput } from "@gooddata/typings"; import { ICommonChartProps } from "./core/base/BaseChart"; export interface ITreemapBucketProps { measures: VisualizationInput.AttributeOrMeasure[]; viewBy?: VisualizationInput.IAttribute; segmentBy?: VisualizationInput.IAttribute; filters?: VisualizationInput.IFilter[]; } export interface ITreemapProps extends ICommonChartProps, ITreemapBucketProps { projectId: string; } /** * [Treemap](http://sdk.gooddata.com/gdc-ui-sdk-doc/docs/treemap_component.html) * is a component with bucket props measures, viewBy, filters */ export declare function Treemap(props: ITreemapProps): JSX.Element;