docs(progress-bar): add descriptions

This commit is contained in:
Eric Liu 2022-02-26 10:56:19 -08:00
commit 5eda2690ec

View file

@ -17,6 +17,8 @@ Specify `size="sm"` to use the small variant.
### Percentage
Specify a `value` for the progress bar to be determinate.
<ProgressBar value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
### Custom max value
@ -27,6 +29,10 @@ The default `max` value is `100`.
### Hidden label
It's recommended that you provide a `labelText` for accessibility.
Use `hideLabel` to visually hide the label text.
<ProgressBar hideLabel value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
### UX example