9
(Choose 1 answer)
A. <a
Which code snippet would you use to move from one screen to another using React Navigation?
onClick = {() => {
window.location.href = "Details.html"
}}
Go to Details
</a>
B. <View>
<Text>Home Screen</Text>
<Button
title="Go to Details"
onPress={() => navigation.navigate('Details')}
/>
</View>
>