Skip to content
19 linesCodeBlameRaw
1import { Stack } from "expo-router";
2
3import { useColors } from "@/theme";
4
5/** A tab's stack of screens, with g1t's header. */
6export function TabStack() {
7 const colors = useColors();
8 return (
9 <Stack
10 screenOptions={{
11 headerStyle: { backgroundColor: colors.surface },
12 headerTintColor: colors.fg,
13 headerTitleStyle: { color: colors.fg },
14 headerShadowVisible: false,
15 contentStyle: { backgroundColor: colors.bg },
16 }}
17 />
18 );
19}