-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
29 lines (25 loc) · 699 Bytes
/
App.js
File metadata and controls
29 lines (25 loc) · 699 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
import React, { useState } from 'react';
import { Text, View, StyleSheet, Button, Vibration } from 'react-native';
import Constants from 'expo-constants';
import { Provider } from 'react-redux';
// You can import from local files
import store from './store';
import Route from './navigation/Route';
// or any pure javascript modules available in npm
export default function App() {
return (
<Provider store={store}>
<Route />
</Provider>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'space-around',
alignContent: 'space-between',
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
padding: 8,
},
});