DocSpace-client/web/ASC.Web.Components/example/stories/loaders/request-loader/README.md

28 lines
1.5 KiB
Markdown
Raw Normal View History

2019-06-18 14:37:36 +00:00
# Loaders: RequestLoader
## Usage
```js
import { RequestLoader } from 'asc-web-components';
```
#### Description
RequestLoader component is used for displaying loading actions on a page.
#### Usage
```js
<RequestLoader label="Loading... Please wait..." />
```
#### Properties
| Props | Type | Required | Values | Default | Description |
| ------------------ | -------- | :------: | --------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `visible` | `bool` | - | - | `false` | Visibility |
| `loaderSize` | `number` or `string` | - | - | - | Svg height and width value |
| `loaderColor` | `string` | - | - | - | Svg color |
| `label` | `string` | - | - | - | Svg aria-label and text label |
| `fontSize` | `number` or `string` | - | - | - | Text label font size |
| `fontColor` | `string` | - | - | - | Text label font color |