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

24 lines
785 B
Markdown
Raw Normal View History

# Backdrop
Background for displaying modal dialogs
### Usage
```js
2021-02-25 21:19:45 +00:00
import Backdrop from "@appserver/components/backdrop";
```
```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 |