import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(PillButton) {
  var DocumentedPillButton = describe(PillButton).description('A Pill Button component. Chose from a submit, button, or link element. Defaults to a link.').usage("import { PillButton } from '@dragonchain-dev/dragon-kit'\n      \n<PillButton onClick={()=> console.log('hello')}>\n  Dragonchain\n</PillButton>");
  DocumentedPillButton.propTypes = {
    tag: PropTypes.string.description('HTML tag'),
    className: PropTypes.string.description('Override all button styles'),
    type: PropTypes.oneOf(propTypes('Button').type).description('The type of button').defaultValue('link'),
    to: PropTypes.string.description('URL'),
    blank: PropTypes.bool.description('Open url in new window').defaultValue(false),
    disabled: PropTypes.bool.description('Disable the button').defaultValue(false),
    children: PropTypes.node.description('Button body').isRequired
  };
  return DocumentedPillButton;
};