import { ArgsTable, Canvas, Story } from '@storybook/addon-docs/blocks';
import { Select } from './Select';

# Select

<Story id="inputs-select--default" />

## Options

An option has only two required fields. The `label` and `value` fields. It can have any other value inside, this has been added
so you can pass whatever data you need into it.

There's also a `labelComponent` prop that can be used to render a label with a custom react component.

## Feedback props

This component uses the same props for feedback as `TextField` uses. It has error, warning and success states with configurable messages for each.

## Props

<ArgsTable of={Select} />
