"use strict";

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

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

var _propTypes = require("../../utils/propTypes");

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

exports.doc = doc;