Usage
let item = { name: "Proxeloca Hotel", code: "CLMVBG", description: "Save $99 for first item", valid: "Valid Time: Dec 22, 2018 - Dec 29, 2018", remain: "Remain 3 days" } <Coupon style={{ marginVertical: 10, marginHorizontal: 20 }} name = {item.name} code = {item.code} description = {item.description} valid = {item.valid} remain = {item.remain} />
Props
name
Type: String
Service provider name
code
Type: String
Code of coupon
description
Type: String
Then content of description
valid
Type: String
String and content about expired date of coupon
remain
Type: String
The remain available time
style
Type: StyleProp
Customize CSS style ViewStyle