Skip to content

@checkout-kit/ui / SelectProps

Interface: SelectProps ​

Extends ​

  • SelectHTMLAttributes<HTMLSelectElement>

Properties ​

PropertyTypeDescriptionOverrides
children?ReactNode-SelectHTMLAttributes.children
className?string-SelectHTMLAttributes.className
invalid?booleanUsually 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?stringA disabled, selected first option: the "Country" a native select cannot express.-
ref?Ref<HTMLSelectElement>--

Apache-2.0 · Headless engine, provider adapters and runnable examples.