PliWould/app/app.tsx

23 lines
516 B
TypeScript

import { LinkingOptions, NavigationContainer } from "@react-navigation/native";
import { Text } from "react-native";
import * as Linking from "expo-linking";
import Root from "./+html";
const prefix = Linking.createURL("/");
const linking : LinkingOptions<any> = {
prefixes: [
"tech.damngood.PliWould", prefix,
],
config: {
screens: {}
},
};
function App() {
return (
<NavigationContainer linking={linking} fallback={<Text>Loading...</Text>}>
<Root />
</NavigationContainer>
);
}