shellphone.app/app/navigation/LinkingConfiguration.ts
2021-06-01 23:13:51 +02:00

31 lines
508 B
TypeScript

/**
* 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: {
TabOne: {
screens: {
TabOneScreen: "one",
},
},
TabTwo: {
screens: {
TabTwoScreen: "two",
},
},
},
},
NotFound: "*",
},
},
};