tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 255 forks source link

Drawer : Add more option #333

Open NgKhanh opened 8 years ago

NgKhanh commented 8 years ago

Pls add more option for Drawer such as:

tleunen commented 8 years ago

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!