Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 575 Bytes

ProgressBar.mdx

File metadata and controls

26 lines (16 loc) · 575 Bytes

import { Canvas, ArgTypes, PRIMARY_STORY } from '@storybook/addon-docs'; import { Indeterminate } from './ProgressBar.stories';

ProgressBar

ProgressBar is a component used in file-uploading to indicate the progress of the upload.

How to Use

If there is no percentage given, the ProgressBar is by default indeterminate.

<ProgressBar />

If percentage is given, the bar will grow according to it and will also display the number %.

<ProgressBar :percentage="20" />

Props