web: Components: Fixed Backdrop component readme
This commit is contained in:
parent
25a3425a00
commit
4d641811a6
@ -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 |
|
||||||
|
Loading…
Reference in New Issue
Block a user