import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(Block) {
  var DocumentedBlock = describe(Block).description('A block component').usage("import { Block } from '@dragonchain-dev/dragon-kit'\n      \n<Block>Content</Block>");
  DocumentedBlock.propTypes = {
    type: PropTypes.oneOf(propTypes('Block').types).description('The type of block to render'),
    background: PropTypes.oneOf(propTypes('Block').backgrounds).description('Add a color to the block background'),
    borderTop: PropTypes.oneOf(propTypes('Block').borderTop).description('Add a colorful top border'),
    reverse: PropTypes.bool.description('Reverse the block content if a defined type is selected'),
    small: PropTypes.bool.description('Image size for 60/40'),
    wide: PropTypes.bool.description('Make the full width component wider'),
    children: PropTypes.node.description('Block body').isRequired
  };
  return DocumentedBlock;
};