From 0a53558d39e543d1ebb461194bddfb91f26aaf63 Mon Sep 17 00:00:00 2001 From: moist-webDev Date: Wed, 24 May 2023 22:28:56 -0400 Subject: [PATCH] theme and routing --- components/Navbar.tsx | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 components/Navbar.tsx diff --git a/components/Navbar.tsx b/components/Navbar.tsx new file mode 100644 index 0000000..60491cf --- /dev/null +++ b/components/Navbar.tsx @@ -0,0 +1,49 @@ +import { Link } from "react-router-native"; +import { StyleSheet, Text, View } from 'react-native'; +import { MaterialIcons, FontAwesome5, Entypo, Ionicons } from '@expo/vector-icons'; + +export default function Navbar({theme}:any){ + return ( + + + + + + + + + + + + + + + + + + ) +} + + +const style = (theme:any) => { + return StyleSheet.create({ + container: { + }, + text: { + color: theme.text, + }, + navabar: { + marginTop: "auto", + flexDirection: 'row', + width: '100%', + }, + navButton: { + height: 60, + textAlign: 'center', + paddingTop: 20, + paddingBottom: 10, + color: theme.text, + backgroundColor:theme.accent, + }, + }); +} \ No newline at end of file