UNPKG

1.47 kBTypeScriptView Raw
1import withLegend from './withLegend';
2import LegendView from './legendView';
3export { withLegend, LegendView };
4declare const _default: {
5 new (props: any): {
6 style: import("../../types").Style;
7 itemWidth: Number;
8 getOriginItems(): any;
9 getItems(): any;
10 setItems(items: any): void;
11 getMaxItemBox(legendShape: any): {
12 width: number;
13 height: number;
14 };
15 _init(): void;
16 updateCoord(): void;
17 willMount(): void;
18 didMount(): void;
19 willUpdate(): void;
20 _initEvent(): void;
21 render(): import("../..").JSX.Element;
22 props: import("./withLegend").LegendProps;
23 state: any;
24 context: import("../../base/component").ComponentContext;
25 refs: {
26 [key: string]: import("../../base/component").default<any, any>;
27 };
28 updater: import("../../base/component").Updater<any>;
29 children: import("../..").JSX.Element;
30 container: any;
31 animate: boolean;
32 destroyed: boolean;
33 willReceiveProps(_props: import("./withLegend").LegendProps, context?: import("./withLegend").LegendProps): void;
34 didUpdate(): void;
35 didUnmount(): void;
36 setState(partialState: any, callback?: () => void): void;
37 forceUpdate(callback?: () => void): void;
38 setAnimate(animate: boolean): void;
39 destroy(): void;
40 };
41};
42export default _default;