-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] implement working bottom tab navigation between Cases and Prof…
…ile pages.
- Loading branch information
1 parent
f1b6516
commit 607640f
Showing
7 changed files
with
18 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,9 @@ | ||
import { Link } from 'expo-router'; | ||
import { Text, View } from 'react-native'; | ||
import { TouchableOpacity } from 'react-native-gesture-handler'; | ||
import styles from './styles'; | ||
// import { Text, View } from 'react-native'; | ||
// import styles from './styles'; | ||
import { Redirect } from 'expo-router'; | ||
|
||
function StartScreen() { | ||
return ( | ||
<View style={styles.container}> | ||
<Link href="/Welcome" asChild> | ||
<TouchableOpacity style={styles.button}> | ||
<Text>Welcome Screen</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
<Link href="/Cases" asChild> | ||
<TouchableOpacity style={styles.button}> | ||
<Text>Cases Screen</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
<Link href="/Profile" asChild> | ||
<TouchableOpacity style={styles.button}> | ||
<Text>Profile Screen</Text> | ||
</TouchableOpacity> | ||
</Link> | ||
</View> | ||
); | ||
return <Redirect href="/(BottomTabNavigation)/Cases" />; | ||
} | ||
|
||
export default StartScreen; |