remake app ohome setup /notworking

This commit is contained in:
2021-10-24 22:18:31 +02:00
parent 4568076445
commit 55c6704d1b
76 changed files with 22173 additions and 749 deletions

53
App.js
View File

@@ -1,21 +1,42 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
// import 'bootstrap/dist/css/bootstrap.min.css';
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
</View>
);
import App from './src/App';
// //styles
import { ThemeProvider } from 'styled-components'
// import GlobalStyle from './src/styles/globalStyles'
import Theme from './src/styles/theme'
// //redux
import { Provider } from 'react-redux'
import store from './src/redux/store';
import { fetchAll } from './src/utils'
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, View } from 'react-native';
fetchAll()
export default function Index() {
return (
<View style={styles.container}>
<Provider store={store}>
<ThemeProvider theme={Theme}>
{/* <GlobalStyle /> */}
<App />
<StatusBar style="auto" />
</ThemeProvider>
</Provider>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
container: {
flex: 1,
backgroundColor: '#fff',
},
});