We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<HoldItem items={[ { text: 'Edit', icon: 'pencil', onPress: (term, definition) => { navigation.navigate('EditWord', { term, definition }) } }, { text: 'Delete', icon: 'trash', isDestructive: true, onPress: () => { } } ]} actionParams={{ Edit: [word.term, word.definition] }} bottom={true} >
onPress is unable to navigate to another screen
The text was updated successfully, but these errors were encountered:
I am able to use the navigation on both Android and iOS. Here is the demo.
const { goBack } = useNavigation(); const items = [ { text: 'Home', icon: 'home', onPress: () => { goBack(); }, } ]
Do you think you're calling the navigation in the right place? Cannot repro and guess the problem with the current code snippets.
Sorry, something went wrong.
No branches or pull requests
onPress is unable to navigate to another screen
The text was updated successfully, but these errors were encountered: