import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(LinkTo) {
  var DocumentedLinkTo = describe(LinkTo).description('A link component').usage("import { LinkTo } from '@dragonchain-dev/dragon-kit'\n\n<LinkTo url=\"https://dragonchain.com>Dragonchain</LinkTo>");
  DocumentedLinkTo.propTypes = {
    tag: PropTypes.node.description('HTML tag').defaultValue('a'),
    type: PropTypes.oneOf(propTypes('LinkTo').type).description('The type of LinkTo'),
    url: PropTypes.string.description('URL'),
    blank: PropTypes.bool.description('Open url in new window'),
    disabled: PropTypes.bool.description('Disable the LinkTo'),
    children: PropTypes.node.description('LinkTo body').isRequired
  };
  return DocumentedLinkTo;
};