"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard");

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");

_Object$defineProperty(exports, "__esModule", {
  value: true
});

exports.default = void 0;

var React = _interopRequireWildcard(require("react"));

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

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

// @flow
var useStyles = (0, _styles.makeStyles)({
  root: {
    zIndex: 10,
    top: 0,
    left: 0,
    right: 0,
    padding: '8px !important',
    flexDirection: 'row !important',
    '@media only print': {
      display: 'none'
    }
  }
});
/*:: type Props = {
  children: React.Node
}*/

var Toolbar = function Toolbar(_ref) {
  var children = _ref.children;
  var classes = useStyles();
  return /*#__PURE__*/React.createElement(_AppBar.default, {
    elevation: 0,
    color: "default",
    position: "static",
    className: classes.root + ' d-print-none'
  }, children);
};

var _default = Toolbar;
exports.default = _default;
//# sourceMappingURL=Toolbar.js.map