You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1019 B

import React from 'react';
import store from "./redux/store";
import { Provider } from 'react-redux';
import { StatusBar } from 'expo-status-bar';
import { Keyboard, SafeAreaView, StyleSheet, TouchableWithoutFeedback } from 'react-native';
import Header from './components/Header';
import TabBar from './components/TabBar';
export default function App() {
return (
<Provider store={store}>
<TouchableWithoutFeedback onPress={() => { Keyboard.dismiss(); }}>
<SafeAreaView style={styles.container}>
<Header/>
<TabBar/>
<StatusBar style="auto" />
</SafeAreaView>
</TouchableWithoutFeedback >
</Provider>
);
}
const tabOptions = {
tabBarShowLabel: false,
tabBarStyle: {
backgroundColor: "#FF5C5C"
},
tabBarActiveTintColor: "white",
tabBarInactiveTintColor: "black"
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#FF5C5C',
},
});