A select component inspired by Material Design.
Material Select
Dependencies
None
Installation
None
Props
Name | Type | Default | Description |
---|---|---|---|
options | Option[] | [] | Array of options to display in the select. |
value | string | '' | The currently selected value. |
onChange | (value: string) => void | - | Function to call when the selected value changes. |
label | string | '' | Label text to display above the select. |