Menavigasi ke layar lain saat tombol disadap di React Native
const myWebview = ({ navigation }) => {
SAMER SAEID
const myWebview = ({ navigation }) => {
import { useNavigation } from '@react-navigation/native';
function NotificationsScreen() {
const navigation = useNavigation();
return(
...
<TouchableOpacity
style={styles.button}
onPress={() => navigation.navigate('NewListingScreen')}
>
...
);
}