-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_layout.tsx
More file actions
38 lines (36 loc) · 902 Bytes
/
_layout.tsx
File metadata and controls
38 lines (36 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { Stack } from "expo-router";
import React from "react";
import { useColorScheme } from "@/hooks/use-color-scheme";
import { Colors } from "@/constants/theme";
export default function FamilyLayout() {
const colorScheme = useColorScheme();
const theme = Colors[colorScheme ?? "light"];
return (
<Stack
screenOptions={{
headerShown: false,
headerTintColor: theme.tint,
headerStyle: { backgroundColor: theme.background },
headerTitleStyle: {
fontFamily: "NunitoSans_600SemiBold",
color: theme.text,
},
headerBackTitle: "",
}}
>
<Stack.Screen
name="index"
options={{
headerShown: false,
}}
/>
<Stack.Screen
name="manage"
options={{
title: "Manage Child",
headerShown: false,
}}
/>
</Stack>
);
}