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
b676ef03
Commit
b676ef03
authored
Oct 11, 2021
by
Pramodh Rajapakse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auction list page layout completed
parent
7bcf230d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
18 deletions
+27
-18
components/add_bid_button.component.js
components/add_bid_button.component.js
+2
-2
screen/User.Auctions.Screen.js
screen/User.Auctions.Screen.js
+25
-16
No files found.
components/add_bid_button.component.js
View file @
b676ef03
...
...
@@ -7,8 +7,8 @@ export const AppAddBid = (props) => {
<
View
style
=
{
styles
.
bidContainer
}
>
<
TextInput
style
=
{
styles
.
input
}
keyboardType
=
'
number-pad
'
placeholder
=
'
Enter bid
'
/>
<
TouchableOpacity
onPress
=
{
props
.
onPress
}
style
=
{
styles
.
bid
}
>
<
MaterialIcons
name
=
"
add
"
size
=
{
16
}
color
=
{
themeColors
.
WHITE
}
/
>
<
/TouchableOpacity
>
<
MaterialIcons
name
=
"
add
"
size
=
{
16
}
color
=
{
themeColors
.
WHITE
}
/
>
<
/TouchableOpacity
>
<
/View
>
)
}
...
...
screen/User.Auctions.Screen.js
View file @
b676ef03
...
...
@@ -3,17 +3,22 @@
// Import React and Component
import
React
from
'
react
'
;
import
{
View
,
StyleSheet
,
Text
,
ScrollView
}
from
'
react-native
'
;
import
{
View
,
StyleSheet
,
Text
,
ScrollView
,
TouchableOpacity
}
from
'
react-native
'
;
import
{
AppAuctionItem
}
from
'
../components/auction_item.component
'
;
import
{
AppContainer
}
from
'
../container/container
'
;
import
themeColors
from
'
../assets/colors
'
;
import
{
AuctionBottomTab
}
from
'
../Navigations/AuctionBottomTab
'
;
const
UserAuctionListScreen
=
({
navigation
})
=>
{
import
{
MaterialIcons
}
from
'
@expo/vector-icons
'
;
const
UserAuctionListScreen
=
(
props
,
{
navigation
})
=>
{
return
(
<
View
style
=
{
styles
.
container
}
>
<
AppContainer
>
<
Text
style
=
{
styles
.
auctionHeading
}
>
Auctions
List
<
/Text
>
<
View
style
=
{
styles
.
header
}
>
<
Text
style
=
{
styles
.
auctionHeading
}
>
Auctions
List
<
/Text
>
<
TouchableOpacity
onPress
=
{
props
.
onPress
}
style
=
{
styles
.
addBtn
}
>
<
MaterialIcons
name
=
"
add
"
size
=
{
16
}
color
=
{
themeColors
.
WHITE
}
/
>
<
/TouchableOpacity
>
<
/View
>
<
ScrollView
>
<
View
>
<
AppAuctionItem
label
=
'
Auction Item 1
'
delete
onPress
=
{()
=>
navigation
.
navigate
(
"
SignUp
"
)}
/
>
...
...
@@ -36,21 +41,25 @@ const styles = StyleSheet.create({
backgroundColor
:
'
#ffffff
'
},
header
:
{
height
:
'
35%
'
,
marginBottom
:
25
,
backgroundColor
:
themeColors
.
PRIMARY_COLOR
},
btnRowContainer
:
{
maxHeight
:
100
},
contentContainer
:
{
flex
:
1
,
flexDirection
:
'
row
'
,
margin
:
20
justifyContent
:
'
space-between
'
,
height
:
50
},
auctionHeading
:
{
fontSize
:
24
,
fontWeight
:
'
bold
'
,
color
:
themeColors
.
SECONDARY_COLOR
}
color
:
themeColors
.
BLACK
,
},
addBtn
:{
alignItems
:
"
center
"
,
padding
:
8
,
backgroundColor
:
themeColors
.
BLACK
,
borderRadius
:
20
,
shadowColor
:
'
rgba(0,0,0, .4)
'
,
shadowOffset
:
{
height
:
2
,
width
:
1
},
shadowOpacity
:
1
,
shadowRadius
:
1
,
elevation
:
2
,
height
:
33
},
})
\ No newline at end of file
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