|
@@ -13,14 +13,15 @@ export default DiscountView = ({visible=false}) => {
|
|
|
<Path
|
|
<Path
|
|
|
fill={colorAccent}
|
|
fill={colorAccent}
|
|
|
d="M28 0H0L40 40V12C40 5.37258 34.6274 -30 28 0Z" />
|
|
d="M28 0H0L40 40V12C40 5.37258 34.6274 -30 28 0Z" />
|
|
|
|
|
+ </Svg>
|
|
|
|
|
+ <View style={styles.cardDiscount}>
|
|
|
<MaterialCommunityIcons
|
|
<MaterialCommunityIcons
|
|
|
name="brightness-percent"
|
|
name="brightness-percent"
|
|
|
size={15}
|
|
size={15}
|
|
|
- color={"white"}
|
|
|
|
|
- style={{top: 3, right: 3, position: 'absolute'}}
|
|
|
|
|
|
|
+ color={"#ffff"}
|
|
|
|
|
+ style={{top: 0, right: 0, position: 'absolute'}}
|
|
|
/>
|
|
/>
|
|
|
- </Svg>
|
|
|
|
|
- <View style={styles.cardDiscount}></View>
|
|
|
|
|
|
|
+ </View>
|
|
|
</>);
|
|
</>);
|
|
|
} else {
|
|
} else {
|
|
|
return <></>;
|
|
return <></>;
|
|
@@ -33,6 +34,7 @@ const styles = StyleSheet.create({
|
|
|
left: 0,
|
|
left: 0,
|
|
|
right: 0,
|
|
right: 0,
|
|
|
bottom: 0,
|
|
bottom: 0,
|
|
|
|
|
+ zIndex: 2,
|
|
|
borderWidth: 3,
|
|
borderWidth: 3,
|
|
|
borderRadius: 10,
|
|
borderRadius: 10,
|
|
|
position: 'absolute',
|
|
position: 'absolute',
|