text: import { __rest } from "tslib";
  import * as React from 'react';
  import { css } from '@patternfly/react-styles';
  import '@patternfly/react-styles/css/layouts/Toolbar/toolbar.css';
  export const ToolbarSection = (_a) => {
      var { children = null, className = null, 'aria-label': ariaLabel } = _a, props = __rest(_a, ["children", "className", 'aria-label']);
      if (!ariaLabel) {
          throw new Error('ToolbarSection requires aria-label to be specified');
      }
      return (React.createElement("section", Object.assign({}, props, { className: css('pf-l-toolbar__section', className) }), children));
  };
  //# sourceMappingURL=ToolbarSection.js.map