@aiui/ai-modal

1.0.3 • Public • Published

AiModal

Minimal Modal React Component

npm bundle size npm bundle size npm download

Install

npm i @aiui/ai-modal

Import

import AiModal from '@aiui/ai-modal';

Props

Name Type Default Description
opened bool false If true, the modal is open
title string Modal Title
size string md Modal size (sm, md, lg)
onClose func ( ) => { } Callback fired when the component requests to be closed
onOverlayClick func ( ) => { } Callback fired when the Overlay is Clicked
children node Modal children, usually the included sub-components
color string #ffffff Modal Color
overlayColor string #e0e0e0 Overlay Color

Package Sidebar

Install

npm i @aiui/ai-modal

Weekly Downloads

4

Version

1.0.3

License

GPL

Unpacked Size

67.8 kB

Total Files

4

Last publish

Collaborators

  • apptitudeinfotech