import { Tabs } from "expo-router"; 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 CarpetRoleSvg = require("@/assets/images/icons/icon-carpet-roll.svg"); const CarpetRoleSelectedSvg = require("@/assets/images/icons/icon-carpet-roll-selected.svg"); const CarpetRollIcon = ({ selected }: { selected: boolean }) => { return selected ? CarpetRoleSelectedSvg : CarpetRoleSvg; }; export default function TabLayout() { const colorScheme = useColorScheme(); const store = setupStore({ products: fixtures, units: "ft", }); return ( ( ), }} /> ( ), }} /> ( ), }} /> ); }