react-credit-cards icon indicating copy to clipboard operation
react-credit-cards copied to clipboard

Custom input rendering?

Open RavenHursT opened this issue 3 years ago • 0 comments

Is there a possibility to allow for the inputs to be custom rendered so that this could be more easily integrated w/ payment processors' react input UI/UX libs? ie. react-stripe: https://stripe.com/docs/stripe-js/react#available-element-components Has number, CVC, and expiry fields for their system.

Adding some custom input renderer props would accomplish this. Example: https://www.npmjs.com/package/react-credit-card-input#custom-input-renderer-usage

Really wanna use this, but it might require me to create my own wrapper for these fields, which isn't ideal.

RavenHursT avatar May 18 '21 17:05 RavenHursT