UNPKG

2 kBTypeScriptView Raw
1import withPieLabel, { PieLabelProps } from './withPieLabel';
2import PieLabelView from './pieLabeView';
3export { PieLabelProps, PieLabelView, withPieLabel };
4declare const _default: {
5 new <IProps extends PieLabelProps = PieLabelProps>(props: any): {
6 labels: [];
7 willMount(): void;
8 didMount(): void;
9 getLabels(props: any): any[];
10 render(): import("@antv/f-engine").JSX.Element;
11 props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>;
12 state: import("@antv/f-engine").IState;
13 context: import("@antv/f-engine").IContext;
14 refs: {
15 [key: string]: import("@antv/f-engine/es/component").default<import("@antv/f-engine").IProps, import("@antv/f-engine").IState>;
16 };
17 updater: import("@antv/f-engine/es/component/updater").Updater<import("@antv/f-engine").IState>;
18 container: import("@antv/g-lite").Group;
19 layout: import("@antv/f-engine").LayoutProps;
20 children: import("@antv/f-engine/es/canvas/vnode").VNode | import("@antv/f-engine/es/canvas/vnode").VNode[];
21 isMounted: boolean;
22 animate: boolean;
23 animator: import("@antv/f-engine/es/canvas/render/animator").default;
24 destroyed: boolean;
25 _vNode: import("@antv/f-engine/es/canvas/vnode").VNode;
26 shouldUpdate(_nextProps: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>): boolean;
27 willReceiveProps(_props: IProps & import("../../chart").ChartChildProps<import("../../chart/Data").DataRecord>, _context?: import("@antv/f-engine").IContext): void;
28 willUpdate(): void;
29 didUpdate(): void;
30 willUnmount(): void;
31 didUnmount(): void;
32 setState(partialState: import("@antv/f-engine").IState, callback?: () => void): void;
33 forceUpdate(callback?: () => void): void;
34 setAnimate(animate: boolean): void;
35 destroy(): void;
36 };
37};
38export default _default;