A select component for choosing colors.
Color Select
Dependencies
None
Installation
None
Props
Name | Type | Default | Description |
---|---|---|---|
options | ColorOption[] | [] | 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. |
placeholder | string | '' | Placeholder text to display when no option is selected. |