Initial commit
Generated by create-expo-app 3.2.0.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
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({});
|
||||
Reference in New Issue
Block a user