Select
The Select component provides a way for the user to choose between several options within a dropdown.
Props
Name | Type | Description | Required | Default |
---|---|---|---|---|
|
| Text that sits inside of the input and floats above the cursor in the input on focus. |
| |
|
| List of options that will be populated into the select dropdown. | ||
|
| Determines whether to show "None" as the first option within the select dropdown. | ||
|
| Executes the provided function when the user chooses an option within the select dropdown. | ||
|
| The array of the selected option within the select dropdown. |
| |
|
| Error text that renders beneath the email input. |
| |
|
| Text that appears when hovering over the select. |
|
Examples
Last updated