1 | import * as React from 'react';
|
2 | import { IPickerProps } from './PickerTypes';
|
3 | export interface IPickerProp {
|
4 | select: (...arg: any[]) => void;
|
5 | doScrollingComplete: (...arg: any[]) => void;
|
6 | computeChildIndex: (...arg: any[]) => number;
|
7 | }
|
8 | declare const _default: {
|
9 | new (props?: IPickerProps, context?: any): {
|
10 | select: (value: any, itemHeight: any, scrollTo: any) => void;
|
11 | selectByIndex(index: any, itemHeight: any, zscrollTo: any): void;
|
12 | computeChildIndex(top: any, itemHeight: any, childrenLength: any): number;
|
13 | doScrollingComplete: (top: any, itemHeight: any, fireValueChange: any) => void;
|
14 | render(): JSX.Element;
|
15 | setState<K extends string | number | symbol>(state: any, callback?: () => any): void;
|
16 | forceUpdate(callBack?: () => any): void;
|
17 | props: Readonly<{
|
18 | children?: React.ReactNode;
|
19 | }> & Readonly<IPickerProps>;
|
20 | state: Readonly<any>;
|
21 | context: any;
|
22 | refs: {
|
23 | [key: string]: React.ReactInstance;
|
24 | };
|
25 | componentWillMount?(): void;
|
26 | componentDidMount?(): void;
|
27 | componentWillReceiveProps?(nextProps: Readonly<IPickerProps>, nextContext: any): void;
|
28 | shouldComponentUpdate?(nextProps: Readonly<IPickerProps>, nextState: Readonly<any>, nextContext: any): boolean;
|
29 | componentWillUpdate?(nextProps: Readonly<IPickerProps>, nextState: Readonly<any>, nextContext: any): void;
|
30 | componentDidUpdate?(prevProps: Readonly<IPickerProps>, prevState: Readonly<any>, prevContext: any): void;
|
31 | componentWillUnmount?(): void;
|
32 | };
|
33 | Item: (_props: import("./PickerMixin").IItemProps) => any;
|
34 | };
|
35 | export default _default;
|