react-drawer
Drawer is a panel that is slides in from the side
Install
$ npm install react-drawer-ui --save
Options
- visible: default 300
- duration: default 500
- width: default 500
- zIndex: default 1000
- title: default ''
- mask: default false
- maskClosable: default true
- onCancel: default () => {}
Example
;; Component { superprops; thisstate = visible: false thishandleOpen = thishandleOpen; thishandleClose = thishandleClose; } { this } { this } { return <div style= position: 'relative' width: '100%' height: 800 > <a onClick=thishandleOpen>open</a> <Drawer visible=thisstatevisible onCancel=thishandleClose mask=true /> </div> ; } ;