GT2/Ejectable/navigation/LinkingConfiguration.ts

36 lines
699 B
TypeScript
Raw Normal View History

2021-08-16 07:50:50 +00:00
/**
* Learn more about deep linking with React Navigation
* https://reactnavigation.org/docs/deep-linking
* https://reactnavigation.org/docs/configuring-links
*/
import * as Linking from 'expo-linking';
export default {
prefixes: [Linking.makeUrl('/')],
config: {
screens: {
Root: {
screens: {
2021-08-21 13:05:22 +00:00
Home: {
2021-08-17 22:00:09 +00:00
screens: {
2021-08-21 13:05:22 +00:00
HomeScreen: 'home',
2021-08-17 22:00:09 +00:00
},
},
2021-08-16 07:50:50 +00:00
Trip: {
screens: {
2021-08-20 08:41:16 +00:00
TripScreen: 'trip',
2021-08-16 07:50:50 +00:00
},
},
Settings: {
screens: {
2021-08-20 08:41:16 +00:00
SettingsScreen: 'settings',
2021-08-16 07:50:50 +00:00
},
},
},
},
NotFound: '*',
},
},
};