#sovan-jana_code

1 messages ยท Page 1 of 1 (latest)

trail spearBOT
#

๐Ÿ‘‹ 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.

austere galleon
#

๐Ÿ‘‹ happy to help

#

unfortunately Padding is not supported on the Link element

trail spearBOT
knotty nymph
#

but don't we have appearance available in options prop of PaymentElement ?

grand grail
#

hi! I'm taking over this thread.

knotty nymph
#

yes but we are passing options to PaymentElement which has type specifiad as StripePaymentElementOptions. and this type variable doesn't have appearance included

grand grail
#

I'm not sure I understand your question. do you get an error in your code? if so, which one?

knotty nymph
#

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"

grand grail
#

oh, so you are not able at all to use the Appearance API?

#

wait, the appearance property shouldn't be set on <PaymentElement> directly. it's on the <Elements>