Skip to main content

SelectProps

type SelectProps<T> = Omit<React.ComponentPropsWithRef<"select">, "disabled"> & object;

Type declaration

NameType
colorScheme?ColorScheme
errorText?string
errorTextTestId?string
hasError?boolean
iconType?IconSource
id?string
isDisabled?boolean
isFullWidth?boolean
labelstring
labelModifier?LabelModifier
onValueChange()(id) => void
optionsOption<T>[]
sizeModifier?SizeModifier
valuestring
wrapContent?boolean

Type Parameters

Type ParameterDefault type
T extends stringstring