'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _AppBar = require('@material-ui/core/AppBar');

var _AppBar2 = _interopRequireDefault(_AppBar);

var _styles = require('@material-ui/core/styles');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var styles = {
  root: {
    zIndex: 10,
    position: 'relative',
    padding: 8,
    flexDirection: 'row'
  }
};

var Toolbar = function Toolbar(_ref) {
  var children = _ref.children,
      classes = _ref.classes;
  return _react2.default.createElement(
    _AppBar2.default,
    { elevation: 3, color: 'default', className: classes.root + ' d-print-none' },
    children
  );
};

Toolbar.propTypes = {
  children: _propTypes2.default.node.isRequired,
  classes: _propTypes2.default.object.isRequired
};

exports.default = (0, _styles.withStyles)(styles)(Toolbar);
//# sourceMappingURL=Toolbar.js.map