Commit 3be45b14 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

create auction screen added

parent ec22cc95
import React from 'react';
import {View, StyleSheet, Text, ScrollView} 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';
import AppCountDownTimer from '../components/countdown_component';
const UserAuctionCreateScreen = (props, {navigation}) => {
return (
<View style={styles.container}>
<AppCountDownTimer/>
<AppContainer>
<View style={styles.header}>
<Text style={styles.auctionHeading}>Create Auction</Text>
</View>
<ScrollView>
<View>
<AppAuctionItem label='Auction Item 2' delete/>
<AppAuctionItem label='Auction Item 3' delete/>
<AppAuctionItem label='Auction Item 4' delete/>
</View>
</ScrollView>
</AppContainer>
<AuctionBottomTab/>
</View>
);
};
export default UserAuctionCreateScreen;
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 50,
backgroundColor: '#ffffff'
},
header: {
flexDirection: 'row',
justifyContent: 'space-between',
height: 50
},
auctionHeading: {
fontSize: 24,
fontWeight: 'bold',
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
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