Card Field Component
<CardField postalCodeEnabled={false} onCardChange={(cardDetails) => { console.log('card details', cardDetails); setCard(cardDetails); }} style={{height: 50}} /> Copy
<CardField postalCodeEnabled={false} onCardChange={(cardDetails) => { console.log('card details', cardDetails); setCard(cardDetails); }} style={{height: 50}} />
JSX.Element
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Card Field Component
Example