import { Tabs } from "expo-router"; import { SvgUri } from "react-native-svg"; import { Colors } from "@/constants/Colors"; import { useColorScheme } from "@/hooks/useColorScheme"; import { TabBarIcon } from "@/components/navigation/TabBarIcon"; import { Provider } from "react-redux"; import fixtures from "@/__fixtures__/initialProducts"; import { setupStore } from "../store"; const CARPET_ROLL_SVG = "/assets/images/icons/icon-carpet-roll-raw.svg"; const CARPET_ROLL_SELECTED_SVG = "/assets/images/icons/icon-carpet-roll-selected-raw.svg"; const CarpetRollIcon = ({ selected }: { selected: boolean }) => { const uri = selected ? CARPET_ROLL_SELECTED_SVG : CARPET_ROLL_SVG; return ; }; export default function TabLayout() { const colorScheme = useColorScheme(); const store = setupStore({ products: fixtures, }); return ( ( ), }} /> ( ), }} /> ( ), }} /> ); }