"use strict";

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

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

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

var doc = function doc(BlockLabel) {
  var DocumentedBlockLabel = (0, _reactDesc.describe)(BlockLabel).description('A label component').usage("import { BlockLabel } from '@dragonchain-dev/dragon-kit'\n      \n<BlockLabel>Label</BlockLabel>");
  DocumentedBlockLabel.propTypes = {
    color: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('BlockLabel').colors).description('Block label background color').defaultValue('blue'),
    children: _reactDesc.PropTypes.node.description('Block label body').isRequired
  };
  return DocumentedBlockLabel;
};

exports.doc = doc;