verysimple

Select

The select component is used to select an option from a list.

Demo

Props

adornmentLeft

ReactNode positioned to the left of the input.

adornmentRight

ReactNode positioned to the right of the input.

error

Boolean to indicate an error state.

as

ElementType to define the component used for the input.

disabled

Boolean to indicate if the input is disabled.

inputSize

InputSize to define the size of the input.

containerProps

InputContainerProps for the input container.

readOnly

Boolean to indicate if the input is read-only.

Code Snippet


        <Select>
          <option>
            Test 1
          </option>
          <option>
            Test 2
          </option>
        </Select>