How to use the @rmwc/drawer.DrawerHeader function in @rmwc/drawer

To help you get started, we’ve selected a few @rmwc/drawer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fluidtrends / chunky / web / lib / components / Drawer.js View on Github external
value: function render() {
      return _react2.default.createElement(
        _drawer.Drawer,
        {
          modal: true,
          open: this._open,
          onClose: this._onClosePressed },
        _react2.default.createElement(
          _drawer.DrawerHeader,
          { style: this._headerStyle },
          this.props.theme ? _react2.default.createElement('img', { src: 'assets/' + this.props.theme.logoLightImage, style: { width: '120px', marginTop: 10 } }) : _react2.default.createElement('div', null)
        ),
        _react2.default.createElement(
          _drawer.DrawerContent,
          null,
          this.renderMenu()
        )
      );
    }

@rmwc/drawer

RMWC Drawer component

MIT
Latest version published 2 months ago

Package Health Score

81 / 100
Full package analysis