I get this Error even when I have installed @react-native-qrcode-svg and @react-native-svg.
And I didn't find any solution.
`
import React from 'react';
import { View, Text, SafeAreaView, TouchableOpacity, StyleSheet } from 'react-native';
import QRCode from 'react-native-qrcode-svg';
const TransactionDetailsScreen = ({ navigation }) => {
const route = useRoute();
const { person } = route.params;
return (
<SafeAreaView style={{ flex: 1 }}>
<View style={{ flex: 1, padding: 16 }}>
<TouchableOpacity onPress={() => navigation.replace('DrawerNavigatorRoutes')} style={styles.goBackButton}>
I get this Error even when I have installed @react-native-qrcode-svg and @react-native-svg. And I didn't find any solution. ` import React from 'react'; import { View, Text, SafeAreaView, TouchableOpacity, StyleSheet } from 'react-native'; import QRCode from 'react-native-qrcode-svg'; const TransactionDetailsScreen = ({ navigation }) => { const route = useRoute(); const { person } = route.params; return ( <SafeAreaView style={{ flex: 1 }}> <View style={{ flex: 1, padding: 16 }}> <TouchableOpacity onPress={() => navigation.replace('DrawerNavigatorRoutes')} style={styles.goBackButton}>
); };
export default TransactionDetailsScreen; `