React SidebarJS
Create mobile sidebar/sidenav experiance in react.
npm install react-sidebarjs --save
Demo
Open the demo on your device and try the touch gestures!
Import
;
Implementation
;; <SidebarJS sidebarjsName="MainSidebar"> <h3>React SidebarJS</h3> <nav> <NavLink to="/home" onClick= sidebarService> Home </NavLink> </nav></SidebarJS>
API
<SidebarJS sidebarjsName=/* string */ sidebarjsConfig=/* SidebarConfig | See: https://github.com/SidebarJS/sidebarjs#options */ onOpen= void onClose= void onChangeVisibility= void></SidebarJS>