GT2/Ejectable/navigation/LinkingConfiguration.ts

31 lines
590 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: {
Trip: {
screens: {
TripScreen: 'one',
},
},
Settings: {
screens: {
SettingsScreen: 'two',
},
},
},
},
NotFound: '*',
},
},
};