import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks';
import { FormList } from './form-list.component';
import {
  FlowPropsTable,
  ExternalReferenceLink,
} from '../../../../utils/storybook/docs-support';

<Meta title="Components/Layout Containers/FormList" component={FormList} />

# Form List

`FormList` displays its children as elements in a bordered list.

## Stories

### Default

<Canvas>
  <Story id="components-layout-containers-formlist--default" />
</Canvas>

## Supported Property Mixins

Margin-only spacing:

<Canvas>
  <Story id="components-layout-containers-formlist--mixins-margin-only-spacing" />
</Canvas>

Stackee:

<Canvas>
  <Story id="components-layout-containers-formlist--mixins-stackee" />
</Canvas>

## Props

<FlowPropsTable ofComponent={FormList} />

## External Reference

<ExternalReferenceLink
  src="https://www.figma.com/file/r5zKXblbSt0b869OEcOWXu/Patchwork-Web?node-id=637%3A66"
  type="figma"
/>
<ExternalReferenceLink
  src="https://github.com/wealthsimple/patchwork/tree/master/core/forms/form-list"
  type="github"
/>
