// @flow import * as React from 'react'; import {Button, Dialog, Paragraph, Portal} from 'react-native-paper'; import i18n from 'i18n-js'; type PropsType = { visible: boolean, onDismiss: () => void, title: string, message: string, }; class AlertDialog extends React.PureComponent { render(): React.Node { const {props} = this; return ( {props.title} {props.message} ); } } export default AlertDialog;