"use strict";

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

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

var doc = function doc(Article) {
  var DocumentedArticle = (0, _reactDesc.describe)(Article).description('A Article component').usage("import { Article } from '@dragonchain-dev/dragon-kit'\n      \n<Article>Article...</Article>");
  DocumentedArticle.propTypes = {
    categories: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.string.description('Category name')).isRequired,
    publishDate: _reactDesc.PropTypes.string.description('Publish date').isRequired,
    slug: _reactDesc.PropTypes.string.description('Article URL').isRequired,
    title: _reactDesc.PropTypes.string.description('Article title').isRequired,
    children: _reactDesc.PropTypes.node.description('Article body').isRequired
  };
  return DocumentedArticle;
};

exports.doc = doc;