UNPKG

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