DocSpace-buildtools/packages/asc-web-components/backdrop/README.md

24 lines
780 B
Markdown
Raw Normal View History

# Backdrop
Background for displaying modal dialogs
### Usage
```js
2020-11-21 13:07:23 +00:00
import { Backdrop } from "@appserver/components";
```
```jsx
<Backdrop visible={true} zIndex={1} />
```
### Properties
| Props | Type | Required | Values | Default | Description |
| ----------- | :-------------: | :------: | :----: | :-----: | ----------------- |
| `className` | `string, array` | - | - | - | Accepts class |
| `id` | `string` | - | - | - | Accepts id |
| `style` | `obj`, `array` | - | - | - | Accepts css style |
| `visible` | `bool` | - | - | `false` | Display or not |
| `zIndex` | `number` | - | - | `100` | CSS z-index |