import React from 'react'; import { View } from 'react-native'; import { PopupPickerProps } from './PopupPickerTypes'; export default function PopupMixin(getModal: (props: any, visible: any, { getContent, hide, onDismiss, onOk }: any) => JSX.Element, platformProps: { actionTextUnderlayColor: string; actionTextActiveOpacity: number; triggerType: string; styles: {}; WrapComponent: View; }): { new (props: Readonly): { picker: any; UNSAFE_componentWillReceiveProps(nextProps: { value: any; visible: any; }): void; onPickerChange: (pickerValue: any) => void; saveRef: (picker: any) => void; setVisibleState(visible: any): void; fireVisibleChange(visible: boolean): void; getRender(): JSX.Element; onTriggerClick: (e: any) => void; onOk: () => void; getContent: () => string | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.FunctionComponentElement<{ [x: string]: any; ref: (picker: any) => void; }> | undefined; onDismiss: () => void; hide: () => void; render(): JSX.Element; context: any; setState(state: any, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; defaultProps: { actionTextUnderlayColor: string; actionTextActiveOpacity: number; triggerType: string; styles: {}; WrapComponent: View; onVisibleChange(_: any): void; okText: string; dismissText: string; title: string; onOk(_: any): void; onDismiss(): void; }; contextType?: React.Context | undefined; };