Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-090 frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-090
2021-090 frontend
Commits
5bbf2fca
Commit
5bbf2fca
authored
Oct 12, 2021
by
Pramodh Rajapakse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bottom tab modified
parent
58197bfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
18 deletions
+12
-18
Navigations/AuctionBottomTab.js
Navigations/AuctionBottomTab.js
+12
-18
No files found.
Navigations/AuctionBottomTab.js
View file @
5bbf2fca
...
...
@@ -13,31 +13,25 @@ export function AuctionBottomTab() {
const
navigation
=
useNavigation
();
return
(
<
View
style
=
{
styles
.
bottomBtn
}
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
AuctionListScreen
"
)}
>
<
Ionicons
name
=
"
cart
"
size
=
{
24
}
color
=
{
themeColors
.
PRIMARY_COLOR
}
/
>
<
Text
style
=
{
styles
.
iconText
}
>
Buy
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
UserBidScreen
"
)}
>
<
MaterialIcons
name
=
"
leaderboard
"
size
=
{
24
}
color
=
{
themeColors
.
PRIMARY_COLOR
}
/
>
<
MaterialIcons
name
=
"
leaderboard
"
size
=
{
24
}
color
=
{
themeColors
.
WHITE
}
/
>
<
Text
style
=
{
styles
.
iconText
}
>
Bids
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
UserAuctionScreen
"
)}
>
<
MaterialIcons
name
=
"
gavel
"
size
=
{
24
}
color
=
{
themeColors
.
PRIMARY_COLOR
}
/
>
<
MaterialIcons
name
=
"
gavel
"
size
=
{
24
}
color
=
{
themeColors
.
WHITE
}
/
>
<
Text
style
=
{
styles
.
iconText
}
>
Auctions
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
AuctionHomeScreen
"
)}
>
<
MaterialIcons
name
=
"
home
"
size
=
{
24
}
color
=
{
themeColors
.
PRIMARY_COLOR
}
/
>
<
MaterialIcons
name
=
"
home
"
size
=
{
24
}
color
=
{
themeColors
.
WHITE
}
/
>
<
Text
style
=
{
styles
.
iconText
}
>
Home
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
...
...
@@ -46,17 +40,17 @@ export function AuctionBottomTab() {
const
styles
=
StyleSheet
.
create
({
iconText
:
{
color
:
themeColors
.
PRIMARY_COLOR
color
:
themeColors
.
WHITE
},
bottomBtn
:{
width
:
"
100%
"
,
height
:
60
,
flexDirection
:
"
row
"
,
justifyContent
:
"
space-between
"
,
padding
:
15
,
backgroundColor
:
"
white
"
,
alignItems
:
"
center
"
height
:
60
,
flexDirection
:
"
row
"
,
justifyContent
:
"
space-between
"
,
paddingHorizontal
:
30
,
backgroundColor
:
themeColors
.
BLACK
,
borderTopRightRadius
:
20
,
borderTopLeftRadius
:
20
,
alignItems
:
"
center
"
},
barButtonView
:{
marginTop
:
5
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment