"use strict";

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

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

var _propTypes = require("../../utils/propTypes");

var doc = function doc(Hero) {
  var DocumentedHero = (0, _reactDesc.describe)(Hero).description('An Hero component').usage("import { Hero } from '@dragonchain-dev/dragon-kit'\n      \n<Hero />");
  DocumentedHero.propTypes = {
    backgroundImage: _reactDesc.PropTypes.string.description('Hero background image'),
    backgroundImagePosition: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Hero').backgroundImagePosition).description('Position of the background image'),
    half: _reactDesc.PropTypes.bool.description('Width of the hero content').defaultValue(false),
    jojo: _reactDesc.PropTypes.bool.description('Add JoJo to the header').defaultValue(false),
    header: _reactDesc.PropTypes.bool.description('Use the hero as a page header').defaultValue(false),
    children: _reactDesc.PropTypes.node.description('Hero body').isRequired
  };
  return DocumentedHero;
};

exports.doc = doc;