@j4jinxx/overlay
v1.1.1
Published
Minimal Overlay/Backdrop React Component
Downloads
8
Maintainers
Readme
Overlay
Minimal Overlay/Backdrop React Component
Install
npm i @j4jinxx/overlay
Import
import Overlay from '@j4jinxx/overlay';
Props
| Name | Type | Default | Description | |----------|:-------|:----------------|:--------| | opened | bool | false | If true, the overlay is open | | color | string | #e0e0e0 | Overlay Color | | onClose | func | ( ) => { } | Callback fired when the component requests to be closed |