You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
828 B

import React from "react";
import { View, StyleSheet, TouchableOpacity } from "react-native";
import { MaterialCommunityIcons } from "@expo/vector-icons";
import colors from "../config/colors";
function NewListingButton({ onPress }) {
return (
<TouchableOpacity onPress={onPress}>
<View style={styles.container}>
<MaterialCommunityIcons
name="plus-circle"
color={colors.white}
size={30}
/>
</View>
</TouchableOpacity>
);
}
const styles = StyleSheet.create({
container: {
alignItems: "center",
backgroundColor: colors.primary,
marginHorizontal: 60,
borderColor: colors.white,
borderRadius: 50,
borderWidth: 0,
bottom: -4,
height: 40,
justifyContent: "center",
width: 40,
},
});
export default NewListingButton;