"use strict";

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

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

var doc = function doc(Section) {
  var DocumentedSection = (0, _reactDesc.describe)(Section).description('A section component').usage("import { Section } from '@dragonchain-dev/dragon-kit'\n\n<Section>Content</Section>");
  DocumentedSection.propTypes = {
    background: _reactDesc.PropTypes.oneOf(['blue', 'blue-dark', 'fire-dark']).description('Background color/texture'),
    dark: _reactDesc.PropTypes.bool.description('Change the default text color of components to be lighter.'),
    header: _reactDesc.PropTypes.string.description('Add a header element to the top of the section if using as header.'),
    children: _reactDesc.PropTypes.node.description('Section body').isRequired
  };
  return DocumentedSection;
};

exports.doc = doc;