"use strict";

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

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

var _reactRouterDom = require("react-router-dom");

var _components = require("../../components");

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

var HomeScene = _ref => {
  var {
    api
  } = _ref;
  var {
    specKey
  } = (0, _reactRouterDom.useParams)();
  return _react.default.createElement(_components.ApixSection, null, _react.default.createElement(_components.DocTitle, null, api.spec.info.title), api.spec.info.description && _react.default.createElement(_components.DocMarkdown, {
    source: api.spec.info.description,
    specKey: specKey
  }));
};

exports.HomeScene = HomeScene;
//# sourceMappingURL=HomeScene.js.map