"use strict";

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

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

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));

var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));

var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));

var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

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

var _Title = _interopRequireDefault(require("../title/Title"));

var _Instructions = _interopRequireDefault(require("../instructions/Instructions"));

var QuizInfo =
/*#__PURE__*/
function (_Component) {
  (0, _inherits2.default)(QuizInfo, _Component);

  function QuizInfo() {
    (0, _classCallCheck2.default)(this, QuizInfo);
    return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(QuizInfo).apply(this, arguments));
  }

  (0, _createClass2.default)(QuizInfo, [{
    key: "render",
    value: function render() {
      return _react.default.createElement("div", null, _react.default.createElement(_Title.default, Object.assign({}, this.props, {
        scrollKey: "title"
      })), _react.default.createElement(_Instructions.default, Object.assign({}, this.props, {
        scrollKey: "instructions"
      })));
    }
  }]);
  QuizInfo.displayName = "QuizInfo";
  return QuizInfo;
}(_react.Component);

exports.default = QuizInfo;