import React from 'react'; import { useTranslation } from 'react-i18next'; import { Dimensions, View } from 'react-native'; import { LinearProgress } from 'react-native-elements'; import { Button, Centered, Column, Text } from './ui'; import { Theme } from './ui/styleUtils'; export const Message: React.FC = (props) => { const { t } = useTranslation('common'); return ( {props.title && ( {props.title} )} {props.message && {props.message}} {props.progress && } {props.hint && ( {props.hint} )} {props.onCancel && (