import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(Button) {
  var DocumentedButton = describe(Button).description('A Button component').usage("import { Button } from '@dragonchain-dev/dragon-kit'\n      \n<Button color=\"red\" hover=\"red-on-white\" url=\"https://dragonchain.com>Dragonchain</Button>");
  DocumentedButton.propTypes = {
    tag: PropTypes.string.description('HTML tag').defaultValue('a'),
    className: PropTypes.string.description('Override all button styles'),
    color: PropTypes.oneOf(propTypes('Button').colors).description('Button color').defaultValue('blue'),
    hover: PropTypes.oneOf(propTypes('Button').hover).description('Button hover color').defaultValue('blue-dark'),
    type: PropTypes.oneOf(propTypes('Button').type).description('The type of button'),
    url: PropTypes.string.description('URL'),
    blank: PropTypes.bool.description('Open url in new window'),
    disabled: PropTypes.bool.description('Disable the button'),
    small: PropTypes.bool.description('Make the button smaller'),
    children: PropTypes.node.description('Button body').isRequired
  };
  return DocumentedButton;
};