mirror of
https://github.com/hanzo-io/chat.git
synced 2026-10-30 18:57:58 +00:00
23 lines
714 B
TypeScript
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 |