"use strict";

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

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

var doc = function doc(Half) {
  var DocumentedHalf = (0, _reactDesc.describe)(Half).description('A Half component').usage("import { Half, Title } from '@dragonchain-dev/dragon-kit'\n\n<Half illustration=\"https://images.dragonchain.com/illustration.svg\" />\n\n<Half>\n  <Title tag=\"h3\">Content Title</Title>\n  <p>content</p>\n</Half>\n\n<Half \n  stack \n  illustration=\"https://images.dragonchain.com/illustration.svg\"\n>\n  <p>content</p>\n</Half>");
  DocumentedHalf.propTypes = {
    illustration: _reactDesc.PropTypes.string.description('Full path of image or svg'),
    center: _reactDesc.PropTypes.bool.description('Center content').defaultValue(false),
    stack: _reactDesc.PropTypes.bool.description('Stack an illustration and content').defaultValue(false),
    children: _reactDesc.PropTypes.node.description('Half content').isRequired
  };
  return DocumentedHalf;
};

exports.doc = doc;