New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@aiui/ai-modal

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aiui/ai-modal

Minimal Modal React Component.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

NameTypeDefaultDescription
openedboolfalseIf true, the modal is open
titlestringModal Title
sizestringmdModal size (sm, md, lg)
onClosefunc( ) => { }Callback fired when the component requests to be closed
onOverlayClickfunc( ) => { }Callback fired when the Overlay is Clicked
childrennodeModal children, usually the included sub-components
colorstring#ffffffModal Color
overlayColorstring#e0e0e0Overlay Color

Keywords

react

FAQs

Package last updated on 16 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts