.. | ||
backdrop.stories.tsx | ||
Backdrop.styled.ts | ||
backdrop.test.tsx | ||
Backdrop.tsx | ||
Backdrop.types.ts | ||
index.tsx | ||
README.md |
Backdrop
Background for displaying modal dialogs
Usage
import Backdrop from "@docspace/components/backdrop";
<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 |