#larryfixcc
1 messages · Page 1 of 1 (latest)
Yeah you can use the appearance api: https://stripe.com/docs/elements/appearance-api
It works with react as well
When initializing elements in react, there's an options prop: https://stripe.com/docs/stripe-js/react
You can see appearance is an available option to pass: https://stripe.com/docs/js/elements_object/create#stripe_elements-options
So I would need to wrap PaymentElement in an Element component in the JSX?
Yeah
https://stripe.com/docs/stripe-js/react goes over the structure you'll need
You'd just need to add in the appearance option yourself
Thanks! I missed the Elements component in the docs.
No problem