Minimal Overlay/Backdrop React Component
npm i @j4jinxx/overlay
import Overlay from '@j4jinxx/overlay';
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 |