799 B
799 B
SimpleSelectControl
(component)
A component for displaying a material styled 'simple' select control.
Props
className
- Type: String
- Default: null
Additional class name to style the component.
label
- Type: String
- Default: null
A label to use for the main select element.
options
- Type: Array
- value: String - Input value for this option.
- label: String - Label for this option.
- disabled: Boolean - Disable this option in the list.
- Default: null
An array of options to use for the dropddown.
onChange
- Type: Function
- Default: null
A function that receives the value of the new option that is being selected as input.
value
- Type: String
- Default: null
The selected value for the control.