1.0.9 • Published 3 years ago

@aiui/ai-overlay v1.0.9

Weekly downloads
-
License
GPL
Repository
github
Last release
3 years ago

AiOverlay

Minimal Overlay / Backdrop React Component

npm bundle size npm bundle size npm download

Install

npm i @aiui/ai-overlay

Import

import AiOverlay from '@aiui/ai-overlay';

Props

NameTypeDefaultDescription
openedboolfalseIf true, the overlay is open
colorstring#e0e0e0Overlay Color
onClosefunc( ) => { }Callback fired when the component requests to be closed