import { Meta, Story, Preview, Props } from '@storybook/addon-docs/blocks';

# Radio-Group
<Meta
  title='Radio Group'
  component='fw-radio-group'
/>

## Props
<Props of="fw-radio-group"/>

## Usage

### Default
<Preview>
<Story name='Default'>{() => `
  <fw-radio-group value="no">
    <fw-radio value="yes">Yes</fw-radio>
    <fw-radio value="no">No</fw-radio>
    <fw-radio value="maybe">Maybe</fw-radio>
  </fw-radio-group>`}</Story>
</Preview>


### With 'allow-empty'

<Preview>
<Story name='AllowEmpty'>{() => `
  <fw-radio-group allow-empty>
    <fw-radio value="yes">Yes</fw-radio>
    <fw-radio value="no">No</fw-radio>
    <fw-radio value="maybe">Maybe</fw-radio>
  </fw-radio-group>`}</Story>
</Preview>
