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