Selector properties
Summary
Props table
Parameter |
Type |
Default |
|---|---|---|
number |
0 |
|
string[] |
[] |
|
string |
/ |
|
(newValue: number) => void |
() => {} |
Props list
value
Type |
Default |
|---|---|
number |
0 |
option index actually displayed
elements
Type |
Default |
|---|---|
string[] |
[] |
selector options array, every element must be a string
optionClassName
Type |
Default |
|---|---|
string |
/ |
className applied on every option inside the selector
onChange
Type |
Default |
|---|---|
(newValue: number) => void |
() => {} |
Callback triggered when Selector component input value is changed by the user