2019-07-15 08:11:13 +00:00
|
|
|
# Backdrop
|
|
|
|
|
|
|
|
Background for displaying modal dialogs
|
|
|
|
|
2019-11-19 14:25:22 +00:00
|
|
|
### Usage
|
2019-07-15 08:11:13 +00:00
|
|
|
|
|
|
|
```js
|
2019-11-19 14:25:22 +00:00
|
|
|
import { Backdrop } from "asc-web-components";
|
|
|
|
```
|
2019-07-15 08:11:13 +00:00
|
|
|
|
2019-11-19 14:25:22 +00:00
|
|
|
```jsx
|
|
|
|
<Backdrop
|
|
|
|
visible={true}
|
|
|
|
zIndex={1}
|
|
|
|
/>
|
2019-07-15 08:11:13 +00:00
|
|
|
```
|
|
|
|
|
2019-11-19 14:25:22 +00:00
|
|
|
### Properties
|
2019-07-15 08:11:13 +00:00
|
|
|
|
2019-11-26 08:58:57 +00:00
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ----------- | :------------: | :------: | :----: | :-----: | ----------------- |
|
|
|
|
| `className` | `string` | - | - | - | Accepts class |
|
|
|
|
| `id` | `string` | - | - | - | Accepts id |
|
|
|
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|
|
|
|
| `visible` | `bool` | - | - | `false` | Display or not |
|
|
|
|
| `zIndex` | `number` | - | - | `100` | CSS z-index |
|