data class CheckoutPrimaryButtonRule(val cornerRadius: CheckoutLength? = null, val font: CheckoutFontStyle? = null, val colors: CheckoutColorStyle? = null, val hover: CheckoutStateStyle? = null, val disabled: CheckoutStateStyle? = null)
Constructors
constructor(cornerRadius: CheckoutLength? = null, font: CheckoutFontStyle? = null, colors: CheckoutColorStyle? = null, hover: CheckoutStateStyle? = null, disabled: CheckoutStateStyle? = null)
Properties
| Property | Type | Description |
|---|---|---|
colors | CheckoutColorStyle? | The colors. The button uses only CheckoutColorStyle.textColor and CheckoutColorStyle.backgroundColor. |
cornerRadius | CheckoutLength? | The corner radius, for example CheckoutLength.px(12). |
disabled | CheckoutStateStyle? | The style when the button is disabled. |
font | CheckoutFontStyle? | The font. |
hover | CheckoutStateStyle? | The style when the pointer is on the button. |
Deprecated
borderRadius
Deprecated. Use cornerRadius instead.
val borderRadius: String?

