"use strict";

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

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

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

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

exports.doc = doc;