Commit 7f04fc28 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

auction bottom tab icons added

parent 48607868
...@@ -5,10 +5,7 @@ import { ...@@ -5,10 +5,7 @@ import {
Text, Text,
TouchableOpacity, TouchableOpacity,
} from "react-native"; } from "react-native";
import { import { MaterialIcons, Ionicons } from "@expo/vector-icons";
Ionicons,
MaterialIcons
} from "@expo/vector-icons";
import { useNavigation } from '@react-navigation/native'; import { useNavigation } from '@react-navigation/native';
import themeColors from "../assets/colors"; import themeColors from "../assets/colors";
...@@ -19,7 +16,7 @@ export function AuctionBottomTab() { ...@@ -19,7 +16,7 @@ export function AuctionBottomTab() {
<TouchableOpacity style={styles.barButtonView} <TouchableOpacity style={styles.barButtonView}
onPress={() => navigation.navigate("gamification")} onPress={() => navigation.navigate("gamification")}
> >
<Ionicons name="game-controller" size={24} color={themeColors.PRIMARY_COLOR} /> <Ionicons name="cart" size={24} color={themeColors.PRIMARY_COLOR} />
<Text style={styles.iconText}>Buy</Text> <Text style={styles.iconText}>Buy</Text>
</TouchableOpacity> </TouchableOpacity>
...@@ -27,7 +24,7 @@ export function AuctionBottomTab() { ...@@ -27,7 +24,7 @@ export function AuctionBottomTab() {
<TouchableOpacity style={styles.barButtonView} <TouchableOpacity style={styles.barButtonView}
onPress={() => navigation.navigate("gamification")} onPress={() => navigation.navigate("gamification")}
> >
<Ionicons name="hardware-chip-sharp" size={24} color={themeColors.PRIMARY_COLOR} /> <Ionicons name="pricetag" size={24} color={themeColors.PRIMARY_COLOR} />
<Text style={styles.iconText}>Sell</Text> <Text style={styles.iconText}>Sell</Text>
</TouchableOpacity> </TouchableOpacity>
...@@ -43,7 +40,7 @@ export function AuctionBottomTab() { ...@@ -43,7 +40,7 @@ export function AuctionBottomTab() {
<TouchableOpacity style={styles.barButtonView} <TouchableOpacity style={styles.barButtonView}
onPress={() => navigation.navigate("gamification")} onPress={() => navigation.navigate("gamification")}
> >
<Ionicons name="hardware-chip-sharp" size={24} color={themeColors.PRIMARY_COLOR} /> <MaterialIcons name="gavel" size={24} color={themeColors.PRIMARY_COLOR} />
<Text style={styles.iconText}>Auctions</Text> <Text style={styles.iconText}>Auctions</Text>
</TouchableOpacity> </TouchableOpacity>
...@@ -51,7 +48,7 @@ export function AuctionBottomTab() { ...@@ -51,7 +48,7 @@ export function AuctionBottomTab() {
<TouchableOpacity style={styles.barButtonView} <TouchableOpacity style={styles.barButtonView}
onPress={() => navigation.navigate("AuctionHomeScreen")} onPress={() => navigation.navigate("AuctionHomeScreen")}
> >
<Ionicons name="home" size={24} color={themeColors.PRIMARY_COLOR} /> <MaterialIcons name="home" size={24} color={themeColors.PRIMARY_COLOR} />
<Text style={styles.iconText}>Home</Text> <Text style={styles.iconText}>Home</Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment