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
Show 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() {
...
@@ -13,31 +13,25 @@ export function AuctionBottomTab() {
const
navigation
=
useNavigation
();
const
navigation
=
useNavigation
();
return
(
return
(
<
View
style
=
{
styles
.
bottomBtn
}
>
<
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
}
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
UserBidScreen
"
)}
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
>
<
Text
style
=
{
styles
.
iconText
}
>
Bids
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
UserAuctionScreen
"
)}
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
>
<
Text
style
=
{
styles
.
iconText
}
>
Auctions
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
<
TouchableOpacity
style
=
{
styles
.
barButtonView
}
onPress
=
{()
=>
navigation
.
navigate
(
"
AuctionHomeScreen
"
)}
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
>
<
Text
style
=
{
styles
.
iconText
}
>
Home
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
...
@@ -46,17 +40,17 @@ export function AuctionBottomTab() {
...
@@ -46,17 +40,17 @@ export function AuctionBottomTab() {
const
styles
=
StyleSheet
.
create
({
const
styles
=
StyleSheet
.
create
({
iconText
:
{
iconText
:
{
color
:
themeColors
.
PRIMARY_COLOR
color
:
themeColors
.
WHITE
},
},
bottomBtn
:{
bottomBtn
:{
width
:
"
100%
"
,
height
:
60
,
height
:
60
,
flexDirection
:
"
row
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
space-between
"
,
justifyContent
:
"
space-between
"
,
padding
:
15
,
paddingHorizontal
:
30
,
backgroundColor
:
"
white
"
,
backgroundColor
:
themeColors
.
BLACK
,
borderTopRightRadius
:
20
,
borderTopLeftRadius
:
20
,
alignItems
:
"
center
"
alignItems
:
"
center
"
},
},
barButtonView
:{
barButtonView
:{
marginTop
:
5
,
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