From be9696b8b50175eeb5352ee316368c1d5e547dbe Mon Sep 17 00:00:00 2001 From: Sanidhya Kumar Verma Date: Fri, 30 Aug 2024 05:56:58 +0000 Subject: [PATCH] bottom tab bar created --- app/(root)/(tabs)/_layout.tsx | 100 ++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/app/(root)/(tabs)/_layout.tsx b/app/(root)/(tabs)/_layout.tsx index e69de29..b3e2e21 100644 --- a/app/(root)/(tabs)/_layout.tsx +++ b/app/(root)/(tabs)/_layout.tsx @@ -0,0 +1,100 @@ +import { icons } from "@/constants"; +import { Tabs } from "expo-router"; +import { Image, type ImageSourcePropType, View } from "react-native"; + +const TabIcon = ({ + source, + focused, + alt, +}: { + source: ImageSourcePropType; + alt: string; + focused: boolean; +}) => ( + + + {alt} + + +); + +const TabsLayout = () => ( + + ( + + ), + }} + /> + + ( + + ), + }} + /> + + ( + + ), + }} + /> + + ( + + ), + }} + /> + +); + +export default TabsLayout;