text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.Toolbar = void 0;
  
  var _react = _interopRequireDefault(require("react"));
  
  var _classnames = _interopRequireDefault(require("classnames"));
  
  var _propTypes = _interopRequireDefault(require("prop-types"));
  
  var _toolbarModule = _interopRequireDefault(require("./toolbar.module.css"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
  
  var Toolbar = function Toolbar(props) {
    var className = props.className,
        children = props.children,
        renderActions = props.renderActions;
    var rootClassName = (0, _classnames["default"])(_toolbarModule["default"].root, className);
    return /*#__PURE__*/_react["default"].createElement("div", {
      className: rootClassName
    }, /*#__PURE__*/_react["default"].createElement("div", {
      className: _toolbarModule["default"].content
    }, children), renderActions && /*#__PURE__*/_react["default"].createElement("div", {
      className: _toolbarModule["default"].actions
    }, renderActions({
      actionClassName: _toolbarModule["default"].action
    })));
  };
  
  exports.Toolbar = Toolbar;
  Toolbar.propTypes = {
    className: _propTypes["default"].string,
    children: _propTypes["default"].node.isRequired,
    renderActions: _propTypes["default"].func
  };
  Toolbar.defaultProps = {
    className: '',
    renderActions: null
  };