import React, {FC} from 'react'; import {Modal} from 'react-native'; import SeetingsLogo from '@assets/svg/SettingsLogo'; import { Overlay, Wrapper, Title, Description, ButtonWrapper, NoThanksButton, UpdateButton, LabelStyles, } from '@styles/components/app-update-modal'; interface IProps { type: string; description: string | undefined; hideModal: () => void; visible?: boolean; title: string; updateApp: () => void; } const AppUpdateModal: FC = ({ type, description, visible, hideModal, title, updateApp, }) => { return ( {title} {description} {type !== 'mandatory' && ( )} ); }; export default AppUpdateModal;