#smc
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
smc
You can't force that, it is responsive based on the width to make it render nicely.
Instead, if you prefer, you can split up the individual elements and do a custom layout that suits your needs. Similar to the 2nd and 3rd examples here:
https://stripe.dev/elements-examples/
(the examples have links to source to see how they are done)
ohh I see
so this will have to be done without the CardElement react component altogether?
You'd use three elements in concert, if going that route
ah right - but those aren't react components, correct?
OH
ha! they are react components! didn't realize CardCvcElement was exported from react-stripe-js
only thought it was CardElement. nice! thank you for your help!
They are indeed
so- just one more question: how does one use elements.getElement with these three in concert?