0e7f7e1dfd
Generated by create-expo-app 3.2.0.
37 lines
817 B
TypeScript
37 lines
817 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 Films" }} />
|
|
<Stack.Screen
|
|
name="[id]"
|
|
options={{
|
|
title: "Film Details",
|
|
}}
|
|
/>
|
|
</Stack>
|
|
);
|
|
};
|
|
|
|
export default Layout;
|
|
|
|
const styles = StyleSheet.create({});
|