Commit a7505b57 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

layout finalised

parent 4d4445ad
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// 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 { AppButton } from "../components/button.component"; import { AppAuctionItem } from '../components/auction_item.component';
import { AppTextInput } from '../components/text_input.component';
import { AppIconButton } from '../components/icon_button.component'; import { AppIconButton } from '../components/icon_button.component';
import { AppContainer } from '../container/container'; import { AppContainer } from '../container/container';
import themeColors from '../assets/colors'; import themeColors from '../assets/colors';
...@@ -27,10 +26,10 @@ const HomeAuctionScreen = ({navigation}) => { ...@@ -27,10 +26,10 @@ const HomeAuctionScreen = ({navigation}) => {
<Text style={styles.auctionHeading}>Auctions List</Text> <Text style={styles.auctionHeading}>Auctions List</Text>
<ScrollView> <ScrollView>
<View> <View>
<AppButton label='Buy' onPress = {() => navigation.navigate("SignUp")}/> <AppAuctionItem label='Auction Item 1' onPress = {() => navigation.navigate("SignUp")}/>
<AppButton label='Sell'/> <AppAuctionItem label='Auction Item 2'/>
<AppButton label='My Bids'/> <AppAuctionItem label='Auction Item 3'/>
<AppButton label='My Auctions'/> <AppAuctionItem label='Auction Item 4'/>
</View> </View>
</ScrollView> </ScrollView>
</AppContainer> </AppContainer>
......
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