celo-poll/mobile/app/_layout.tsx
2025-12-08 16:31:30 +03:00

36 lines
743 B
TypeScript

import { Stack } from 'expo-router'
import { StatusBar } from 'expo-status-bar'
export default function RootLayout() {
return (
<>
<StatusBar style="light" />
<Stack
screenOptions={{
headerStyle: {
backgroundColor: '#1a1a1a',
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
}}
>
<Stack.Screen
name="index"
options={{
title: '馃搳 PollCelo',
}}
/>
<Stack.Screen
name="vote/[pollId]/[optionId]"
options={{
title: 'Vote',
presentation: 'modal',
}}
/>
</Stack>
</>
)
}