-
Notifications
You must be signed in to change notification settings - Fork 3
/
App.tsx
24 lines (21 loc) · 729 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { ApolloClient, ApolloProvider, InMemoryCache } from "@apollo/client";
import { NavigationContainer } from "@react-navigation/native";
import { TailwindProvider } from "tailwind-rn";
import RootNavigator from "./navigator/RootNavigator";
import utilities from "./tailwind.json";
const client = new ApolloClient({
uri: "your StepZen deployed URL",
cache: new InMemoryCache(),
});
export default function App() {
return (
// @ts-ignore -TailwindProvider is missing a type defination
<TailwindProvider utilities={utilities}>
<ApolloProvider client={client}>
<NavigationContainer>
<RootNavigator />
</NavigationContainer>
</ApolloProvider>
</TailwindProvider>
);
}