Initializers
init(borderRadius:font:colors:hover:selected:)
Creates a tab rule.init(from:)
Inherited fromDecodable.init(from:).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutTabRule
init(borderRadius: String? = nil, font: CheckoutFontStyle? = nil, colors: CheckoutColorStyle? = nil, hover: CheckoutStateStyle? = nil, selected: CheckoutStateStyle? = nil)
Decodable.init(from:).
init(from decoder: any Decoder) throws
| Property | Type | Description |
|---|---|---|
borderRadius | String? | The CSS border-radius value, for example "8px". |
colors | CheckoutColorStyle? | The tab colors in the rest state. |
font | CheckoutFontStyle? | The tab font. |
hover | CheckoutStateStyle? | The tab colors while the pointer is over the tab. |
selected | CheckoutStateStyle? | The tab colors while the tab is the selected one. |
Was this page helpful?
