Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.16 KB

stripeelementstyle.md

File metadata and controls

51 lines (28 loc) · 1.16 KB

@bigcommerce/checkout-sdkStripeElementStyle

Interface: StripeElementStyle

Customize the appearance of an element using CSS properties passed in a Style object, which consists of CSS properties nested under objects for each variant.

Hierarchy

  • StripeElementStyle

Index

Properties

Properties

Optional base

base? : StripeElementStyleVariant

Base variant—all other variants inherit from these styles.


Optional complete

complete? : StripeElementStyleVariant

Applied when the element has valid input.


Optional empty

empty? : StripeElementStyleVariant

Applied when the element has no customer input.


Optional invalid

invalid? : StripeElementStyleVariant

Applied when the element has invalid input.