web: Components: Fixed Backdrop component readme

This commit is contained in:
Ilya Oleshko 2019-11-19 17:25:22 +03:00
parent 25a3425a00
commit 4d641811a6

View File

@ -1,20 +1,23 @@
# Backdrop # Backdrop
#### Description
Background for displaying modal dialogs Background for displaying modal dialogs
#### Usage ### Usage
```js ```js
import { Backdrop } from 'asc-web-components'; import { Backdrop } from "asc-web-components";
<Backdrop visible={false} />
``` ```
#### Properties ```jsx
<Backdrop
visible={true}
zIndex={1}
/>
```
| Props | Type | Required | Values | Default | Description | ### Properties
| --------------- | ------------------------- | :------: | -------| ------- | ------------------------------------------------ |
| `visible` | `bool` | | | false | Display or not | | Props | Type | Required | Values | Default | Description |
| `zIndex` | `number` | | | 100 | CSS z-index | | --------- | :------: | :------: | :----: | :-----: | -------------- |
| `visible` | `bool` | - | - | `false` | Display or not |
| `zIndex` | `number` | - | - | `100` | CSS z-index |