1681-engine / react / SelectProps
Interface: SelectProps<T> ​
Defined in: src/react/Select.tsx:14
Type Parameters ​
| Type Parameter |
|---|
T extends string | number |
Properties ​
className? ​
ts
optional className?: string;Defined in: src/react/Select.tsx:22
disabled? ​
ts
optional disabled?: boolean;Defined in: src/react/Select.tsx:23
grow? ​
ts
optional grow?: boolean;Defined in: src/react/Select.tsx:21
Fills its row, cutting the label with an ellipsis instead of growing.
label? ​
ts
optional label?: string;Defined in: src/react/Select.tsx:19
What it chooses, for a screen reader.
onChange ​
ts
onChange: (value) => void;Defined in: src/react/Select.tsx:17
Parameters ​
| Parameter | Type |
|---|---|
value | T |
Returns ​
void
options ​
ts
options: readonly SelectOption<T>[];Defined in: src/react/Select.tsx:16
value ​
ts
value: T;Defined in: src/react/Select.tsx:15