Credit Card
The CreditCard component displays a visual representation of a credit card, showing the brand, expiry date, and last four digits of the card number.
Preview

Usage
Props
Prop
Description
Required
Value
brand
card provider name
required
string
expires
card expiry date
required
string
last_four
last four digits of card number
required
string
Notes
The
brandprop specifies the card provider name.The
expiresprop specifies the expiry date of the card.The
last_fourprop specifies the last four digits of the card number.
Last updated
Was this helpful?