"use strict";

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

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

var doc = function doc(ArticleCard) {
  var DocumentedArticleCard = (0, _reactDesc.describe)(ArticleCard).description('A ArticleCard component').usage("import { ArticleCard } from '@dragonchain-dev/dragon-kit'\n      \n<ArticleCard>article...</ArticleCard>");
  DocumentedArticleCard.propTypes = {
    category: _reactDesc.PropTypes.string.description('Primary article category').isRequired,
    publishDate: _reactDesc.PropTypes.string.description('Publish date').isRequired,
    title: _reactDesc.PropTypes.string.description('Article title').isRequired,
    slug: _reactDesc.PropTypes.string.description('Article URL').isRequired
  };
  return DocumentedArticleCard;
};

exports.doc = doc;