From 1cb36cd073252f4a185cd9775382da4c6861a8cb Mon Sep 17 00:00:00 2001 From: Maksymilian Jopek Date: Tue, 28 Mar 2023 17:18:05 +0200 Subject: Working app --- App.js | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 75 insertions(+), 16 deletions(-) (limited to 'App.js') diff --git a/App.js b/App.js index 181f3ce..ac60ce3 100644 --- a/App.js +++ b/App.js @@ -1,21 +1,80 @@ -import { StatusBar } from 'expo-status-bar'; -import React from 'react'; -import { StyleSheet, Text, View } from 'react-native'; +import 'react-native-gesture-handler'; +import * as React from 'react'; +import { Image, TouchableOpacity } from 'react-native' +import { NavigationContainer, } from '@react-navigation/native'; +import { createDrawerNavigator } from '@react-navigation/drawer'; +const Drawer = createDrawerNavigator(); -export default function App() { +import NotesList from "./components/NotesList" +import NoteView from "./components/NoteView" +import CategoryView from "./components/CategoryView" +import Options from "./components/Options" +import CustomDrawerContent from "./components/DrawerContent" + +import kIcon from "./assets/kebab.png" + +function App() { return ( - - Open up App.js to start working on your app! - - + + }> + window.navigation.navigate("options")}>, + headerStyle: { + backgroundColor: '#ff0000', + }, + headerTintColor: '#ffffff', + headerTitleStyle: { + fontWeight: 'bold', + }, + }} /> + + + + + + ); } -const styles = StyleSheet.create({ - container: { - flex: 1, - backgroundColor: '#fff', - alignItems: 'center', - justifyContent: 'center', - }, -}); +export default App; -- cgit v1.3.1