2020-03-11 13:12:04 +00:00
|
|
|
# ProgressBar
|
|
|
|
|
|
|
|
A container that displays a process or operation as a progress bar
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
import { ProgressBar } from "asc-web-components";
|
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
<ProgressBar value={10} maxValue={100} />
|
|
|
|
```
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| :---------------: | :------: | :------: | :----: | :-----: | ---------------------- |
|
2020-04-28 08:56:48 +00:00
|
|
|
| `percent` | `number` | ✅ | - | - | Progress value. |
|
2020-03-11 13:12:04 +00:00
|
|
|
| `label` | `string` | - | - | - | Text in progress-bar. |
|
|
|
|
| `dropDownContent` | `any` | - | - | - | Drop-down content. |
|