UNPKG

560 BTypeScriptView Raw
1import { TextStyleProps } from '@antv/f-engine';
2import Coord from '../../coord/base';
3import { DataRecord } from '../../chart/Data';
4import { TreemapProps as TreemapBaseProps, RecordNode } from './withTreemap';
5export interface TreemapProps<TRecord extends DataRecord = DataRecord> extends TreemapBaseProps<TRecord> {
6 label?: boolean | TextStyleProps;
7 onClick?: (record: RecordNode<TRecord>) => void;
8}
9declare const _default: (props: TreemapProps<DataRecord> & {
10 coord: Coord;
11}) => import("@antv/f-engine").JSX.Element;
12export default _default;