#sovan-jana_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1399327651650605072
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
but don't we have appearance available in options prop of PaymentElement ?
hi! I'm taking over this thread.
you can customize the Payment Element using the Appearance API: https://docs.stripe.com/elements/appearance-api
however it has some limitations, so you can't customize everything.
yes but we are passing options to PaymentElement which has type specifiad as StripePaymentElementOptions. and this type variable doesn't have appearance included
I'm not sure I understand your question. do you get an error in your code? if so, which one?
Object literal may only specify known properties, and 'appearance' does not exist in type 'StripePaymentElementOptions'.
this is what I'm getting if I try to add "appearance" in "options"