"use strict";

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

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

var doc = function doc(Detail) {
  var DocumentedDetail = (0, _reactDesc.describe)(Detail).description('A text area with defined styles').usage("import { Detail } from '@dragonchain-dev/dragon-kit'\nimport { Shop } from '@dragonchain-dev/dragon-kit-icons'      \n\n<Detail title=\"Shop Online\" icon={<Shop/>}>Grab the latest merch from our online store</Stat>");
  DocumentedDetail.propTypes = {
    icon: _reactDesc.PropTypes.node.description('Icon to represent the detail'),
    title: _reactDesc.PropTypes.string.description('Title of the stat').isRequired,
    footer: _reactDesc.PropTypes.node.description('Footer link'),
    children: _reactDesc.PropTypes.node.description('Body describing the detail')
  };
  return DocumentedDetail;
};

exports.doc = doc;