import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(Title) {
  var DocumentedTitle = describe(Title).description('A title component').usage("import { Title } from '@dragonchain-dev/dragon-kit'\n      \n<Title>This is a title</Title>");
  DocumentedTitle.propTypes = {
    tag: PropTypes.oneOf(propTypes('Title').tags).description('HTML tag of the title').defaultValue('h2'),
    color: PropTypes.oneOf(propTypes('Title').colors).description('Title color'),
    size: PropTypes.oneOf(propTypes('Title').size).description('Title size').defaultValue('small'),
    children: PropTypes.node.description('Title body').isRequired
  };
  return DocumentedTitle;
};