GT2/Ejectable/navigation/LinkingConfiguration.ts

36 lines
698 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-17 22:00:09 +00:00
Splash: {
screens: {
SplashScreen: 'one',
},
},
2021-08-16 07:50:50 +00:00
Trip: {
screens: {
2021-08-17 22:00:09 +00:00
TripScreen: 'two',
2021-08-16 07:50:50 +00:00
},
},
Settings: {
screens: {
2021-08-17 22:00:09 +00:00
SettingsScreen: 'three',
2021-08-16 07:50:50 +00:00
},
},
},
},
NotFound: '*',
},
},
};