PrimaryButton
class PrimaryButton
Configures the appearance of the primary button.
Types
Functions
Link copied to clipboard
fun colorsDark(value: PaymentElement.Configuration.Appearance.PrimaryButton.Colors): PaymentElement.Configuration.Appearance.PrimaryButton
Sets the primary-button colors used in dark mode.
Link copied to clipboard
fun colorsLight(value: PaymentElement.Configuration.Appearance.PrimaryButton.Colors): PaymentElement.Configuration.Appearance.PrimaryButton
Sets the primary-button colors used in light mode.
Link copied to clipboard
fun shape(value: PaymentElement.Configuration.Appearance.PrimaryButton.Shape): PaymentElement.Configuration.Appearance.PrimaryButton
Sets the primary-button shape.
Link copied to clipboard
fun typography(value: PaymentElement.Configuration.Appearance.PrimaryButton.Typography): PaymentElement.Configuration.Appearance.PrimaryButton
Sets the primary-button typography.