import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks';
import { ProgressBar } from './progress-bar.component';
import { FlowPropsTable, ExternalReferenceLink } from '../../../utils';

<Meta title="Feedback|ProgressBar" component={ProgressBar} />

# Progress Bar

A progress bar represented as a line.

## Incomplete

<Canvas>
  <Story id="components-feedback-progress-bar--incomplete" />
</Canvas>

## Complete

<Canvas>
  <Story id="components-feedback-progress-bar--complete" />
</Canvas>

## Error

<Canvas>
  <Story id="components-feedback-progress-bar--error" />
</Canvas>

## Supported Property Mixins:

Margin-only spacing:

<Canvas>
  <Story id="components-feedback-progress-bar--mixins-margin-only-spacing" />
</Canvas>

Stackee:

<Canvas>
  <Story id="components-feedback-progress-bar--mixins-stackee" />
</Canvas>

## Props

<FlowPropsTable ofComponent={ProgressBar} />

## External Reference

<ExternalReferenceLink
  src="https://www.figma.com/file/r5zKXblbSt0b869OEcOWXu/Patchwork-Web?node-id=637%3A64"
  type="figma"
/>
<ExternalReferenceLink
  src="https://github.com/wealthsimple/patchwork/tree/master/core/feedback/progress-bar"
  type="github"
/>
