UNPKG

1.18 kBTypeScriptView Raw
1import Component from '../../base/component';
2import { Ref } from '../../types';
3declare const _default: (View: any) => {
4 new (props: any): {
5 triggerRef: Ref;
6 labels: [];
7 willMount(): void;
8 /**
9 * 绑定事件
10 */
11 didMount(): void;
12 getLabels(props: any): any[];
13 _handleEvent: (ev: any) => void;
14 _initEvent(): void;
15 render(): import("../..").JSX.Element;
16 props: any;
17 state: any;
18 context: import("../../base/component").ComponentContext;
19 refs: {
20 [key: string]: Component<any, any>;
21 };
22 updater: import("../../base/component").Updater<any>;
23 children: import("../..").JSX.Element;
24 container: any;
25 animate: boolean;
26 destroyed: boolean;
27 willReceiveProps(_props: any, context?: any): void;
28 willUpdate(): void;
29 didUpdate(): void;
30 didUnmount(): void;
31 setState(partialState: any, callback?: () => void): void;
32 forceUpdate(callback?: () => void): void;
33 setAnimate(animate: boolean): void;
34 destroy(): void;
35 };
36};
37export default _default;