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

<Meta title="Feedback|Circular Progress Bar" component={CircularProgressBar} />

# Circular Progress Bar

A progress bar represented as a donut chart.

## Default

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

## Complete

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

## Large

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

## No Animation

<Canvas>
  <Story id="components-feedback-circular-progress-bar--no-animation" />
</Canvas>

## Supported Property Mixins:

Spacing:

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

## Props

<FlowPropsTable ofComponent={CircularProgressBar} />

## 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/circular-progress-bar"
  type="github"
/>
