@aiui/ai-drawer

1.0.0 • Public • Published

AiDrawer

Minimal Drawer React Component

npm bundle size npm bundle size npm download

Install

npm i @aiui/ai-drawer

Import

import AiDrawer from '@aiui/ai-drawer';

Props

Name Type Default Description
opened bool false If true, the drawer is open
anchor string left Drawer placement (left, right, top, bottom)
color string #ffffff Drawer Color
width number 280 Drawer Width (for anchor left & right)
onClose func ( ) => { } Callback fired when the component requests to be closed
children node Drawer children

Package Sidebar

Install

npm i @aiui/ai-drawer

Weekly Downloads

1

Version

1.0.0

License

GPL

Unpacked Size

69.3 kB

Total Files

4

Last publish

Collaborators

  • apptitudeinfotech