Open History to see the last commit
1import Stack from "expo-router/stack";
2import { useResolveClassNames } from "uniwind";
3import { useThemeColor } from "../../lib/useThemeColor";
4
5export const unstable_settings = {
6 anchor: "index",
7};
8
9export default function ConnectionsLayout() {
10 const contentStyle = useResolveClassNames("bg-sheet");
11 const connSheetBg = useThemeColor("--color-sheet");
12 const headerTint = useThemeColor("--color-foreground");
13
14 return (
15 <Stack
16 screenOptions={{
17 contentStyle,
18 headerStyle: { backgroundColor: connSheetBg },
19 headerTintColor: headerTint,
20 headerTitleStyle: { fontFamily: "DMSans_700Bold" },
21 headerShadowVisible: false,
22 headerBackButtonDisplayMode: "minimal",
23 }}
24 >
25 <Stack.Screen name="index" options={{ animation: "none" }} />
26 <Stack.Screen name="new" options={{ animation: "slide_from_right" }} />
27 </Stack>
28 );
29}