import PropTypes from 'prop-types'; import React from 'react'; import { TextStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { CallbackOrActions } from './PropsType'; import { PromptStyle } from './style/prompt'; export interface PropmptContainerProps extends WithThemeStyles { title: React.ReactNode; message?: React.ReactNode; type?: 'default' | 'login-password' | 'secure-text'; defaultValue?: string; actions: CallbackOrActions; onAnimationEnd?: (visible: boolean) => void; placeholders?: string[]; } export default class PropmptContainer extends React.Component { static defaultProps: { type: string; defaultValue: string; }; static contextTypes: { antLocale: PropTypes.Requireable; }; constructor(props: PropmptContainerProps); onClose: () => void; onChangeText(type: string, value: string): void; render(): JSX.Element; }