react-mdl icon indicating copy to clipboard operation
react-mdl copied to clipboard

Drawer : Add more option

Open NgKhanh opened this issue 9 years ago • 1 comments

Pls add more option for Drawer such as:

  • open/close status
  • left/right direction

NgKhanh avatar Jun 23 '16 15:06 NgKhanh

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!

tleunen avatar Jun 24 '16 20:06 tleunen