1.1.1 • Published 1 month ago
@j4jinxx/overlay v1.1.1
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 |