UNPKG

reactnativecomponents

Version:
44 lines (43 loc) 1.13 kB
import * as React from 'react'; import AbstractFormComponent from '../Form/AbstractFormComponent'; import Props from './Props'; /** * @author 田尘殇Sean(sean.snow@live.com) * @date 16/5/8 */ declare class Picker extends AbstractFormComponent<Props, any> { static defaultProps: { cancelText: string; confirmText: string; mode: string; title: string; }; state: { visible: boolean; selectedValue: any; }; contentShowAnimation: { animation: string; duration: number; }; contentHideAnimation: { animation: string; duration: number; }; currentSelectedValue: any; constructor(props: any); componentWillReceiveProps({ selectedValue }: { selectedValue: any; }): void; handleValueChange(selectedValue: any): void; handleDialogOpen(): void; handleConfirm(): void; handleCancel(): void; handleDialogSwitch(): void; getValue(): any; isValid(): boolean; renderHeader(): {}; render(): JSX.Element; } export declare const Item: React.ReactNode; export default Picker;