@checkout-kit/ui / SelectProps
Interface: SelectProps
Extends
SelectHTMLAttributes<HTMLSelectElement>
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
children? | ReactNode | - | SelectHTMLAttributes.children |
className? | string | - | SelectHTMLAttributes.className |
invalid? | boolean | Usually comes from <Field>, along with the id and the described-by. | - |
options? | readonly SelectOption[] | Rendered as <option>s. Pass children instead when you need <optgroup>. | - |
placeholder? | string | A disabled, selected first option: the "Country" a native select cannot express. | - |
ref? | Ref<HTMLSelectElement> | - | - |