react-mdl
react-mdl copied to clipboard
Drawer : Add more option
Pls add more option for Drawer such as:
- open/close status
- left/right direction
Currently, the drawer is part of the layout component, if we add these options/props, it would require a way to communicate between the drawer and the layout, or simply have them on the Layout component.
I know the MDL team will work on a better layout/drawer system in their V2, and I'd like to also improve all this in our V2 (related to this https://github.com/tleunen/react-mdl/issues/295), but currently with the state of v1, it seems hard to achieve... Unless someone has an idea and I'm all ears!