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