1 | import * as React from 'react';
|
2 | import { IPopupPickerProps } from './PopupPickerTypes';
|
3 | export default function PopupMixin(getModal: any, platformProps: any): {
|
4 | new (props: any): {
|
5 | picker: any;
|
6 | componentWillReceiveProps(nextProps: any): void;
|
7 | onPickerChange: (pickerValue: any) => void;
|
8 | saveRef: (picker: any) => void;
|
9 | setVisibleState(visible: any): void;
|
10 | fireVisibleChange(visible: any): void;
|
11 | getRender(): any;
|
12 | onTriggerClick: (e: any) => void;
|
13 | onOk: () => void;
|
14 | getContent: () => string | React.ReactElement<any> | React.SFCElement<{
|
15 | [x: string]: any;
|
16 | ref: (picker: any) => void;
|
17 | }>;
|
18 | onDismiss: () => void;
|
19 | hide: () => void;
|
20 | render(): any;
|
21 | setState<K extends string | number | symbol>(state: any, callback?: () => any): void;
|
22 | forceUpdate(callBack?: () => any): void;
|
23 | props: Readonly<{
|
24 | children?: React.ReactNode;
|
25 | }> & Readonly<IPopupPickerProps>;
|
26 | state: Readonly<any>;
|
27 | context: any;
|
28 | refs: {
|
29 | [key: string]: React.ReactInstance;
|
30 | };
|
31 | componentWillMount?(): void;
|
32 | componentDidMount?(): void;
|
33 | shouldComponentUpdate?(nextProps: Readonly<IPopupPickerProps>, nextState: Readonly<any>, nextContext: any): boolean;
|
34 | componentWillUpdate?(nextProps: Readonly<IPopupPickerProps>, nextState: Readonly<any>, nextContext: any): void;
|
35 | componentDidUpdate?(prevProps: Readonly<IPopupPickerProps>, prevState: Readonly<any>, prevContext: any): void;
|
36 | componentWillUnmount?(): void;
|
37 | };
|
38 | defaultProps: any;
|
39 | };
|
40 |
|
\ | No newline at end of file |