Files

23 lines
714 B
TypeScript

import { useColorScheme } from '@hooks/useColorScheme';
import { Stack } from 'expo-router';
const ProfileLayout = () => {
const { colors, isDarkColorScheme } = useColorScheme()
return (
<Stack screenOptions={{
headerShadowVisible: false,
headerStyle: { backgroundColor: isDarkColorScheme ? colors.background : colors.card }
}}>
<Stack.Screen name='index'
options={{
title: 'Profile',
headerShadowVisible: true,
contentStyle: { backgroundColor: isDarkColorScheme ? colors.background : colors.card }
}} />
</Stack>
)
}
export default ProfileLayout