"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _scopeTabs = _interopRequireDefault(require("../scope-tabs"));
var _scopeContent = _interopRequireDefault(require("../scope-content"));
var _style = _interopRequireDefault(require("./style.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const DisciplineScope = props => {
  const {
    onClick,
    selected = 0,
    content = {},
    levels = []
  } = props;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.scope
  }, /*#__PURE__*/_react.default.createElement(_scopeTabs.default, {
    onClick: onClick,
    selected: selected,
    levels: levels
  }), /*#__PURE__*/_react.default.createElement(_scopeContent.default, {
    content: content
  }));
};
DisciplineScope.propTypes = process.env.NODE_ENV !== "production" ? {
  levels: _scopeTabs.default.propTypes.levels,
  selected: _scopeTabs.default.propTypes.selected,
  onClick: _scopeTabs.default.propTypes.onClick,
  content: _scopeContent.default.propTypes.content
} : {};
var _default = exports.default = DisciplineScope;
//# sourceMappingURL=index.js.map