-
-
Notifications
You must be signed in to change notification settings - Fork 452
Expand file tree
/
Copy pathLinkingConfiguration.ts
More file actions
35 lines (31 loc) · 757 Bytes
/
LinkingConfiguration.ts
File metadata and controls
35 lines (31 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Learn more about deep linking with React Navigation
* https://reactnavigation.org/docs/deep-linking
* https://reactnavigation.org/docs/configuring-links
*/
import { LinkingOptions } from "@react-navigation/native";
import * as Linking from "expo-linking";
import { RootStackParamList } from "../types";
const linking: LinkingOptions<RootStackParamList> = {
prefixes: [Linking.makeUrl("/")],
config: {
screens: {
Root: {
screens: {
TabOne: {
screens: {
Basic: "basic",
},
},
TabTwo: {
screens: {
Swipeable: "swipeable",
},
},
},
},
NotFound: "*",
},
},
};
export default linking;