Skip to content

Commit

Permalink
Add screen titles (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed May 19, 2024
1 parent 2c55026 commit 39e9b22
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,48 @@ function App() {

<Stack.Screen
name="List"
component={List} />
component={List}
options={{ title: "Lista", headerTitleAlign: 'center' }}
/>

<Stack.Screen
name="QrScanScreen"
component={QrScanScreen}
/>
options={{ title: "Start", headerTitleAlign: 'center' }}
/>

<Stack.Screen
name="QrScanner"
component={QrScanner}
options={{ title: "Scan QR code", headerTitleAlign: 'center' }} />
options={{ title: "Skanowanie kodu QR", headerTitleAlign: 'center' }} />

<Stack.Screen
name="NavigationArrow"
component={NavigationArrow}
options={{ title: "Nawigacja", headerTitleAlign: 'center' }}
/>

<Stack.Screen
name="CreditsScreen"
component={CreditsScreen}
options={{ title: "Credits", headerTitleAlign: 'center' }} />
options={{ title: "Autorzy", headerTitleAlign: 'center' }} />

<Stack.Screen
name="EndScreen"
component={EndScreen} />
component={EndScreen}
options={{ title: "Koniec", headerTitleAlign: 'center' }}
/>

<Stack.Screen
<Stack.Screen
name="QuizScreen"
component={QuizScreen} />
<Stack.Screen
component={QuizScreen}
options={{ title: "Quiz", headerTitleAlign: 'center' }}
/>
<Stack.Screen
name="QuizResultScreen"
component={QuizResultScreen} />
component={QuizResultScreen}
options={{ title: "Wynik", headerTitleAlign: 'center' }}
/>
</Stack.Navigator>
</NavigationContainer>
);
Expand Down

0 comments on commit 39e9b22

Please sign in to comment.