Initializers
init(borderRadius:font:colors:hover:focus:)
Creates an input 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 CheckoutInputRule
init(borderRadius: String? = nil, font: CheckoutFontStyle? = nil, colors: CheckoutColorStyle? = nil, hover: CheckoutStateStyle? = nil, focus: 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 input colors in the rest state. |
focus | CheckoutStateStyle? | The input colors while the input has focus. |
font | CheckoutFontStyle? | The input font. |
hover | CheckoutStateStyle? | The input colors while the pointer is over the input. |
Was this page helpful?
