stakes coponent modidfied

parent 0c41d522
...@@ -45,7 +45,9 @@ const styles = StyleSheet.create({ ...@@ -45,7 +45,9 @@ const styles = StyleSheet.create({
flexDirection: 'row', flexDirection: 'row',
borderRadius: 10, borderRadius: 10,
backgroundColor: themeColors.PRIMARY_COLOR, backgroundColor: themeColors.PRIMARY_COLOR,
marginHorizontal: 10 marginHorizontal: 10,
marginVertical: 10,
height: 120
}, },
label: { label: {
fontSize: 22, fontSize: 22,
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
// Import React and Component // Import React and Component
import React from 'react'; import React from 'react';
import {View, StyleSheet, Text, ScrollView} from 'react-native'; import {View, StyleSheet, Text, ScrollView} from 'react-native';
import { AppAuctionItem } from '../components/auction_item.component';
import { AppContainer } from '../container/container'; import { AppContainer } from '../container/container';
import themeColors from '../assets/colors'; import themeColors from '../assets/colors';
import { AuctionBottomTab } from '../Navigations/AuctionBottomTab'; import { AuctionBottomTab } from '../Navigations/AuctionBottomTab';
import { AppStakeItem } from '../components/auction.stake.component';
const UserBidScreen = ({navigation}) => { const UserBidScreen = ({navigation}) => {
return ( return (
...@@ -15,12 +15,11 @@ const UserBidScreen = ({navigation}) => { ...@@ -15,12 +15,11 @@ const UserBidScreen = ({navigation}) => {
<AppContainer> <AppContainer>
<Text style={styles.auctionHeading}>My Bids</Text> <Text style={styles.auctionHeading}>My Bids</Text>
<ScrollView> <ScrollView>
<View> <AppStakeItem />
<AppAuctionItem label='Auction Item 1' onPress = {() => navigation.navigate("SignUp")}/> <AppStakeItem />
<AppAuctionItem label='Auction Item 2'/> <AppStakeItem />
<AppAuctionItem label='Auction Item 3'/> <AppStakeItem />
<AppAuctionItem label='Auction Item 4'/> <AppStakeItem />
</View>
</ScrollView> </ScrollView>
</AppContainer> </AppContainer>
<AuctionBottomTab/> <AuctionBottomTab/>
......
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