@@ -5,6 +5,7 @@ import { NavigationContainer } from '@react-navigation/native'
55import { createNativeStackNavigator } from '@react-navigation/native-stack'
66import { StatusBar } from 'expo-status-bar'
77import React from 'react'
8+ import { Image } from 'react-native'
89import { SafeAreaProvider } from 'react-native-safe-area-context'
910
1011import LLMScreen from './screens/LLMScreen'
@@ -23,7 +24,19 @@ const SpeechStack = createNativeStackNavigator()
2324function LLMStackScreen ( ) {
2425 return (
2526 < LLMStack . Navigator >
26- < LLMStack . Screen name = "LLMScreen" component = { LLMScreen } />
27+ < LLMStack . Screen
28+ name = "LLMScreen"
29+ component = { LLMScreen }
30+ options = { {
31+ headerTitle : ( ) => (
32+ < Image
33+ source = { require ( '../assets/ck.png' ) }
34+ style = { { width : 36 , height : 36 , marginTop : 10 } }
35+ resizeMode = "contain"
36+ />
37+ ) ,
38+ } }
39+ />
2740 </ LLMStack . Navigator >
2841 )
2942}
@@ -34,6 +47,9 @@ function PlaygroundStackScreen() {
3447 < PlaygroundStack . Screen
3548 name = "PlaygroundScreen"
3649 component = { PlaygroundScreen }
50+ options = { {
51+ title : 'Playground' ,
52+ } }
3753 />
3854 </ PlaygroundStack . Navigator >
3955 )
@@ -45,6 +61,9 @@ function TranscribeStackScreen() {
4561 < TranscribeStack . Screen
4662 name = "TranscribeScreen"
4763 component = { TranscribeScreen }
64+ options = { {
65+ title : 'Speech to Text' ,
66+ } }
4867 />
4968 </ TranscribeStack . Navigator >
5069 )
@@ -53,7 +72,13 @@ function TranscribeStackScreen() {
5372function SpeechStackScreen ( ) {
5473 return (
5574 < SpeechStack . Navigator >
56- < SpeechStack . Screen name = "SpeechScreen" component = { SpeechScreen } />
75+ < SpeechStack . Screen
76+ name = "SpeechScreen"
77+ component = { SpeechScreen }
78+ options = { {
79+ title : 'Text to Speech' ,
80+ } }
81+ />
5782 </ SpeechStack . Navigator >
5883 )
5984}
0 commit comments