"use strict";

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

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

var doc = function doc(Body) {
  var DocumentedBody = (0, _reactDesc.describe)(Body).description('A text area with defined styles').usage("import { Description } from '@dragonchain-dev/dragon-kit'\n      \n<Description>This is a description</Description>");
  DocumentedBody.propTypes = {
    children: _reactDesc.PropTypes.node.description('Description body').isRequired
  };
  return DocumentedBody;
};

exports.doc = doc;