SelectProps
type SelectProps<T> = Omit<React.ComponentPropsWithRef<"select">, "disabled"> & object;
Type declaration
| Name | Type |
|---|---|
colorScheme? | ColorScheme |
errorText? | string |
errorTextTestId? | string |
hasError? | boolean |
iconType? | IconSource |
id? | string |
isDisabled? | boolean |
isFullWidth? | boolean |
label | string |
labelModifier? | LabelModifier |
onValueChange() | (id) => void |
options | Option<T>[] |
sizeModifier? | SizeModifier |
value | string |
wrapContent? | boolean |
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends string | string |