GT2/Ejected/navigation/LinkingConfiguration.ts

36 lines
698 B
TypeScript
Raw Normal View History

2021-08-19 00:49:26 +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: {
Splash: {
screens: {
SplashScreen: 'one',
},
},
Trip: {
screens: {
TripScreen: 'two',
},
},
Settings: {
screens: {
SettingsScreen: 'three',
},
},
},
},
NotFound: '*',
},
},
};