Commit 99d9c92a authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

auction list item component added

parent 64d413b7
import React from 'react';
import { StyleSheet, TouchableOpacity, Text } from 'react-native';
import themeColors from '../assets/colors';
export const AppAuctionItem = (props) => {
return(
<TouchableOpacity onPress={props.onPress} style={styles.button}>
<Text style={styles.label}>{props.label}</Text>
</TouchableOpacity>
)
}
const styles = StyleSheet.create({
button:{
alignItems: "center",
padding: 20,
fontSize: 16,
backgroundColor: themeColors.TERTIARY_COLOR,
borderRadius: 20,
marginVertical: 10
},
label: {
fontSize: 20,
color: themeColors.WHITE
}
});
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