Run "yarn build:docs"

This commit is contained in:
Eric Liu 2022-03-25 19:13:47 -07:00
commit 036c407f40
3 changed files with 27 additions and 0 deletions

View file

@ -8260,6 +8260,17 @@
"constant": false,
"reactive": false
},
{
"name": "kind",
"kind": "let",
"description": "Specify the kind of progress bar",
"type": "\"default\" | \"inline\" | \"indented\"",
"value": "\"default\"",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": false
},
{
"name": "size",
"kind": "let",

View file

@ -35,6 +35,16 @@ Use `hideLabel` to visually hide the label text.
<ProgressBar hideLabel value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
### Inline variant
The inline variant visually hides the `helperText`.
<ProgressBar kind="inline" value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
### Indented variant
<ProgressBar kind="indented" value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
### UX example
This example shows how to animate the progress bar from 0 to 100% with start and end states.

View file

@ -15,6 +15,12 @@ export interface ProgressBarProps
*/
max?: number;
/**
* Specify the kind of progress bar
* @default "default"
*/
kind?: "default" | "inline" | "indented";
/**
* Specify the size
* @default "md"