import 'react-native-gesture-handler'; import React from 'react'; import { StyleSheet, TouchableOpacity, View, Image} from 'react-native'; //redux import store from './src/redux/store'; import { Provider } from 'react-redux'; //navigation import { NavigationContainer, DarkTheme } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; import { createMaterialBottomTabNavigator } from '@react-navigation/material-bottom-tabs'; //themes import { COLORS } from './src/themes/Colors'; import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'; //screens import MainScreen from './src/screens/MainScreen'; import GroceryList from './src/screens/storageManagement/GroceryList'; import Storage from './src/screens/storageManagement/Storage'; import Products from './src/screens/storageManagement/Products'; const MyTheme = { dark: true, colors: { background: COLORS.dp00, }, }; const Stack = createStackNavigator(); const Tab = createMaterialBottomTabNavigator(); const GroceryListTab = () => { return ( ( ), }} /> ( ), }} /> ( ), }} /> ); } const App = () => { return ( ( < TouchableOpacity onPress={() => alert('This is a button!')} style={styles.button} > ), }} /> ); } const styles = StyleSheet.create({ headerBackground: { flex: 1, height: 100, width: 300, }, button: { alignItems: 'center', justifyContent: 'space-around', width: 50, height: 30, }, buttonLine: { width: 30, height: 3, backgroundColor: '#fffb', borderRadius: 3, }, blurredView: { // For me android blur did not work until applying a background color: backgroundColor: 'white', width: 100, height: 100 }, }); export default App; // // // //