"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.PageHeader = exports.PageDescription = exports.PageHeaderSection = exports.PageTitle = void 0;

var _react = _interopRequireDefault(require("react"));

require("./PageHeader.css");

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

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

var PageTitle = function PageTitle(_ref) {
  var children = _ref.children,
      restProps = _objectWithoutProperties(_ref, ["children"]);

  return _react.default.createElement("div", _extends({}, restProps, {
    className: "vs-page-heading--title"
  }), children);
};

exports.PageTitle = PageTitle;

var PageHeaderSection = function PageHeaderSection(_ref2) {
  var children = _ref2.children,
      restProps = _objectWithoutProperties(_ref2, ["children"]);

  return _react.default.createElement("div", _extends({}, restProps, {
    className: "vs-page-heading--section"
  }), children);
};

exports.PageHeaderSection = PageHeaderSection;

var PageDescription = function PageDescription(_ref3) {
  var children = _ref3.children,
      restProps = _objectWithoutProperties(_ref3, ["children"]);

  return _react.default.createElement("span", _extends({}, restProps, {
    className: "vs-page-heading--description"
  }), children);
};

exports.PageDescription = PageDescription;

var PageHeader = function PageHeader(_ref4) {
  var children = _ref4.children,
      restProps = _objectWithoutProperties(_ref4, ["children"]);

  return _react.default.createElement("div", _extends({}, restProps, {
    className: "vs-page-heading"
  }), children);
};

exports.PageHeader = PageHeader;