artwork-react-native
Version:
artwork design master for react-native
32 lines (31 loc) • 1.13 kB
TypeScript
/// <reference types="react" />
import React from 'react';
import { IPickerProps } from './PickerTypes';
export interface IPickerProp {
select: Function;
doScrollingComplete: Function;
}
declare const _default: {
new (props: IPickerProps, context?: any): {
select: (value: any, itemHeight: any, scrollTo: any) => void;
selectByIndex(index: any, itemHeight: any, zscrollTo: any): void;
coumputeChildIndex(top: any, itemHeight: any, childrenLength: any): number;
doScrollingComplete: (top: any, itemHeight: any, fireValueChange: any) => void;
render(): JSX.Element;
setState<K extends string>(state: any, callback?: (() => void) | undefined): void;
forceUpdate(callBack?: (() => void) | undefined): void;
props: Readonly<{
children?: React.ReactNode;
}> & Readonly<IPickerProps>;
state: Readonly<any>;
context: any;
refs: {
[key: string]: React.ReactInstance;
};
};
Item: (_props: {
className?: string | undefined;
value: any;
}) => null;
};
export default _default;