1.0.9 • Published 4 years ago
@aiui/ai-overlay v1.0.9
AiOverlay
Minimal Overlay / Backdrop React Component
Install
npm i @aiui/ai-overlayImport
import AiOverlay from '@aiui/ai-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 |