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 center type=\"full\">Content</Block>");
  DocumentedBlock.propTypes = {
    type: PropTypes.oneOf(propTypes('Block').types).description('The type of block').defaultValue('full'),
    center: PropTypes.bool.description("If block is a 'full', center content").defaultValue(false),
    divider: PropTypes.bool.description('Add a divider between two half content sections').defaultValue(false),
    reverse: PropTypes.bool.description('Reverse the content blocks').defaultValue(false),
    children: PropTypes.node.description('Block content').isRequired
  };
  return DocumentedBlock;
};