import { BlurView } from "expo-blur";
import { isLiquidGlassAvailable } from "expo-glass-effect";
import { Tabs } from "expo-router";
import { Icon, Label, NativeTabs } from "expo-router/unstable-native-tabs";
import { SymbolView } from "expo-symbols";
import { Feather } from "@expo/vector-icons";
import React from "react";
import { Platform, StyleSheet, View, useColorScheme } from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { useColors } from "@/hooks/useColors";
function NativeTabLayout() {
return (
);
}
function ClassicTabLayout() {
const colors = useColors();
const colorScheme = useColorScheme();
const isDark = colorScheme === "dark";
const isIOS = Platform.OS === "ios";
const isWeb = Platform.OS === "web";
const insets = useSafeAreaInsets();
return (
isIOS ? (
) : isWeb ? (
) : null,
tabBarLabelStyle: {
fontFamily: "Inter_500Medium",
fontSize: 11,
},
}}
>
isIOS ? (
) : (
),
}}
/>
isIOS ? (
) : (
),
}}
/>
isIOS ? (
) : (
),
}}
/>
isIOS ? (
) : (
),
}}
/>
);
}
export default function TabLayout() {
if (isLiquidGlassAvailable()) {
return ;
}
return ;
}