"use strict";

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

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

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

var doc = function doc(PillButton) {
  var DocumentedPillButton = (0, _reactDesc.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: _reactDesc.PropTypes.string.description('HTML tag'),
    className: _reactDesc.PropTypes.string.description('Override all button styles'),
    type: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Button').type).description('The type of button').defaultValue('link'),
    to: _reactDesc.PropTypes.string.description('URL'),
    blank: _reactDesc.PropTypes.bool.description('Open url in new window').defaultValue(false),
    disabled: _reactDesc.PropTypes.bool.description('Disable the button').defaultValue(false),
    large: _reactDesc.PropTypes.bool.description('Make the pill button larger').defaultValue(false),
    children: _reactDesc.PropTypes.node.description('Button body').isRequired
  };
  return DocumentedPillButton;
};

exports.doc = doc;