kradio3 / react-mdc-web

Material Design Components for React
https://kradio3.github.io/react-mdc-web/
MIT License
174 stars 25 forks source link

drawer on the right #67

Open ataliadvanstep opened 6 years ago

ataliadvanstep commented 6 years ago

Hello guys,

when I set mdc-temporary-drawer--right on Drawer component, it doesn't seem to work. I was expecting to display the drawer on the right side.

<Drawer
        className="mdc-temporary-drawer--right"
        open={this.state.isOpen}
        onClose={() => {
          this.setState({ isOpen: false });
        }}
      >
</Drawer
ataliadvanstep commented 6 years ago

has someone encountered the same issue ?

kradio3 commented 6 years ago

@ataliadvanstep , this property is not implemented yet. I'll extend drawer for '''right''' property

ataliadvanstep commented 6 years ago

so cool ! any estimate date ?

by the way, your lib rocks !

kradio3 commented 6 years ago

I cannot find this mdc-temporary-drawer--right class in google implementation. Where you find it?

ataliadvanstep commented 6 years ago

here : https://github.com/material-components/material-components-web/issues/1324

you can play with the rtl tag