"use strict";

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

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

var doc = function doc(Layout) {
  var DocumentedLayout = (0, _reactDesc.describe)(Layout).description('A Layout component').usage("import { Layout } from '@dragonchain-dev/dragon-kit'\n\n<Layout>Content</Layout>");
  DocumentedLayout.propTypes = {
    background: _reactDesc.PropTypes.oneOf(['blue', 'blue-dark', 'blue-dark-fade', '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 layout if using as header.'),
    children: _reactDesc.PropTypes.node.description('Layout body').isRequired
  };
  return DocumentedLayout;
};

exports.doc = doc;