"use strict";

exports.__esModule = true;
exports.doc = void 0;

var _reactDesc = require("react-desc");

var doc = function doc(Page) {
  var DocumentedPage = (0, _reactDesc.describe)(Page).description('A page component').usage("import { Page } from '@dragonchain-dev/dragon-kit'\n      \n<Page>Content</Page>");
  DocumentedPage.propTypes = {
    children: _reactDesc.PropTypes.node.description('Page content').isRequired
  };
  return DocumentedPage;
};

exports.doc = doc;