25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
|
# Rows Loader
|
||
|
|
||
|
Component that displays rows loader
|
||
|
|
||
|
### Usage
|
||
|
|
||
|
```js
|
||
|
import { Loaders } from "asc-web-common";
|
||
|
```
|
||
|
|
||
|
```jsx
|
||
|
<Loaders.Rows />
|
||
|
```
|
||
|
|
||
|
### Properties
|
||
|
|
||
|
| Props | Type | Required | Values | Default | Description |
|
||
|
| ------------------- | :------: | :------: | :----: | :-------: | ------------------------------------------------ |
|
||
|
| `backgroundColor` | `string` | - | - | `#000000` | Used as background of animation |
|
||
|
| `foregroundColor` | `string` | - | - | `#000000` | Used as the foreground of animation |
|
||
|
| `backgroundOpacity` | `number` | - | - | 0.2 | Background opacity (0 = transparent, 1 = opaque) |
|
||
|
| `foregroundOpacity` | `number` | - | - | 0.25 | Animation opacity (0 = transparent, 1 = opaque) |
|
||
|
| `speed` | `number` | - | - | 2 | Animation speed in seconds |
|
||
|
| `animate` | `bool` | - | - | true | Opt-out of animations |
|