import { Canvas, Meta } from '@storybook/blocks'
import * as Stories from './SingleSelectField.stories'

<Meta of={Stories} />

# SingleSelectField

A radio button group for selecting a single option from a list.

## Usage

```tsx
import { SingleSelectField } from '@/components/onboarding'

<SingleSelectField
  options={[
    { value: 'option1', label: 'Option 1' },
    { value: 'option2', label: 'Option 2' },
  ]}
  value={selected}
  onChange={setSelected}
  ariaLabel="Select an option"
/>
```

## Examples

### Default

<Canvas of={Stories.Default} />

### With Value

<Canvas of={Stories.WithValue} />

### Disabled

<Canvas of={Stories.Disabled} />
