Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<TextField
id="creditCardNumber"
label="Credit Card Number"
name="card_number"
placeholder="xxxx xxxx xxxx xxxx"
value={card_number}
onChange={handleChange}
InputProps={{
inputComponent: InputMaskingCreditCard,
}}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment