Files
Galaxies-my-app/app/people/_layout.tsx
T
Dennis Hundertmark 0e7f7e1dfd Initial commit
Generated by create-expo-app 3.2.0.
2025-03-05 00:48:33 +01:00

37 lines
827 B
TypeScript

import { StyleSheet, Text, View } from "react-native";
import React from "react";
import { Stack } from "expo-router";
import { COLORS } from "@/constants/colors";
const Layout = () => {
return (
<Stack
screenOptions={{
headerShadowVisible: false,
headerStyle: {
backgroundColor: COLORS.background,
},
headerTintColor: COLORS.text,
headerTitleStyle: {
fontWeight: "bold",
},
contentStyle: {
backgroundColor: COLORS.background,
},
}}
>
<Stack.Screen name="index" options={{ title: "All Characters" }} />
<Stack.Screen
name="[id]"
options={{
title: "Character Details",
}}
/>
</Stack>
);
};
export default Layout;
const styles = StyleSheet.create({});