forked from lucas.delanier/MovieFinder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
783 B
37 lines
783 B
/**
|
|
* 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.createURL('/')],
|
|
config: {
|
|
screens: {
|
|
Root: {
|
|
screens: {
|
|
TabOne: {
|
|
screens: {
|
|
TabOneScreen: 'one',
|
|
},
|
|
},
|
|
TabTwo: {
|
|
screens: {
|
|
TabTwoScreen: 'two',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Modal: 'modal',
|
|
NotFound: '*',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default linking;
|