1.2.7 • Published 6 years ago
canari-drawer-component v1.2.7
Sliding Component
Using React to create a component to slide out from a specified direction
Previewing Component
clone the repo and 'npm install' then you can 'npm start'
This will start Parcel and bundle the fills, it will open a window to localhost:1234
Component Use
The component can receive various props. you can see it's default props by previewing the component.
Side Prop
can receive a side prop.
Exceptable props include 'left', 'right', 'top', 'bottom'.
Example:
<SlideInMenu side='top' />
this will cause the SlideInMenu to come into the screen from the top of the screen. by default it will come out of the left side of the screen.