-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
80 lines (72 loc) · 2.4 KB
/
Copy pathApp.js
File metadata and controls
80 lines (72 loc) · 2.4 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// import React, { useState } from 'react';
// import { ApolloClient, HttpLink, InMemoryCache } from 'apollo-boost';
// import { ApolloProvider, graphql } from 'react-apollo';
// import Login from './screens/Login';
// import {Router, Stack, Scene} from 'react-native-router-flux';
// import Loading from './screens/LoadingScreen';
// import ListPatients from './screens/ListPatients';
// import MedicalCard from './screens/MedicalCard';
// import Record from './screens/Record';
// const client = new ApolloClient({
// link: new HttpLink({
// uri: 'https://eu1.prisma.sh/iryna-sirenko-681f78/prisma-tutorial/dev',
// headers: {
// authorization: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InNlcnZpY2UiOiJwcmlzbWEtdHV0b3JpYWxAZGV2Iiwicm9sZXMiOlsiYWRtaW4iXX0sImlhdCI6MTU5MjE1NDI1OCwiZXhwIjoxNTkyNzU5MDU4fQ.R3LgW07LNp-e4nxufeLPZsAHLPvl-YP_-X1VncTCpzU"
// }
// }),
// cache: new InMemoryCache()
// });
// // const client = new ApolloClient({
// // link: new HttpLink({
// // uri: 'http://localhost:4000/',
// // }),
// // cache: new InMemoryCache()
// // });
// export default function App() {
// return (
// <ApolloProvider client={client}>
// <Router>
// <Stack key="root">
// <Scene
// key="loading"
// component={Loading}
// initial={true}
// hideNavBar={true}
// title="Loading"
// />
// <Scene
// key="listPatients"
// component={ListPatients}
// hideNavBar={true}
// title="ListPatients"
// />
// <Scene
// key="medicalCard"
// component={MedicalCard}
// hideNavBar={true}
// title="MedicalCard"
// />
// <Scene
// key="login"
// component={Login}
// title="login"
// hideNavBar={true}
// />
// <Scene
// key="record"
// component={Record}
// title="record"
// hideNavBar={true}
// />
// </Stack>
// </Router>
// </ApolloProvider>
// );
// }
import React, {useState} from 'react';
// import Wallet from './screens/Wallet';PinguinAnimation
import PinguinAnimation from './screens/PinguinAnimation';
// import LiquidSwipe from './screens/LiquidSwipe';
export default function App() {
return <PinguinAnimation />;
}