Skip to content

Commit

Permalink
added inventory/character tabicon pixelart
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-zou18 committed Jun 28, 2024
1 parent 37c5ced commit 9a57353
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions lifescape-app/components/general/TabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,25 @@ const TabBar = ({ state, descriptors, navigation }: TabBarProps) => {
home: (props: any) => (
<View className="h-[90%]">
<Image
source={require("../../assets/images/home.png")}
source={require("../../assets/images/tabicons/home.png")}
resizeMode="contain"
style={{ flex: 1, aspectRatio: 1 }}
/>
</View>
),
character: (props: any) => (
<MaterialIcons name="elderly-woman" size={24} color="white" {...props} />
<View className="h-[90%]">
<Image
source={require("../../assets/images/tabicons/inventory.png")}
resizeMode="contain"
style={{ flex: 1, aspectRatio: 1 }}
/>
</View>
),
play: (props: any) => (
<View className="h-[90%]">
<Image
source={require("../../assets/images/crossed_swords.png")}
source={require("../../assets/images/tabicons/crossed_swords.png")}
resizeMode="contain"
style={{ flex: 1, aspectRatio: 1 }}
/>
Expand Down

0 comments on commit 9a57353

Please sign in to comment.