Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save flayder/b60f4bde8505953e549b85af948f16c5 to your computer and use it in GitHub Desktop.
Save flayder/b60f4bde8505953e549b85af948f16c5 to your computer and use it in GitHub Desktop.
navigation.reset({
index: 1,
routes: [
{
name: 'Screen1',
state: {
routes: [{ name: 'Tab2' }],
},
},
{
name: 'Screen1',
state: {
routes: [
{
name: 'Tab2',
state: {
routes: [{ name: 'Screen5' }, { name: 'Screen4' }]
},
},
],
},
},
],
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment