import React from 'react'; import { StyleSheet, View } from 'react-native'; import Alert, { AlertType } from '../../Base/Alert'; import Text from '../../Base/Text'; import { strings } from '../../../../locales/i18n'; const styles = StyleSheet.create({ alertBar: { width: '95%', marginBottom: 15, }, }); interface Props { /** * Function for dismissing of modal */ onDismiss: () => void; /** * Navigation object needed to link to settings */ navigation: any; } const CollectibleDetectionModal = ({ onDismiss, navigation }: Props) => { const goToSecuritySettings = () => { navigation.navigate('SettingsView', { screen: 'SettingsFlow', params: { screen: 'SecuritySettings', params: { scrollToBottom: true, }, }, }); }; return ( {strings('wallet.nfts_autodetection_title')} {'\n'} {strings('wallet.nfts_autodetection_desc')} {'\n'} {strings('wallet.nfts_autodetection_cta')} ); }; export default CollectibleDetectionModal;