"use strict";

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

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

var doc = function doc(Footer) {
  var DocumentedFooter = (0, _reactDesc.describe)(Footer).description('An alert component').usage("import { Footer } from '@dragonchain-dev/dragon-kit'\n      \n<Footer />");
  DocumentedFooter.propTypes = {
    entity: _reactDesc.PropTypes.string.description('Website name or entity').isRequired,
    links: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.shape({
      blank: _reactDesc.PropTypes.bool.description('Open the URL in a new window').defaultValue(true),
      name: _reactDesc.PropTypes.string.description('URL name').isRequired,
      type: _reactDesc.PropTypes.oneOf(['link', 'route']).description('Is the URL an internal route or external link').isRequired,
      url: _reactDesc.PropTypes.string.description('URL').isRequired
    })).description('An array of footer URLs').isRequired,
    logo: _reactDesc.PropTypes.string.description('SVG of logo').isRequired,
    large: _reactDesc.PropTypes.bool.description('Make the logo larger').defaultValue(false),
    social: _reactDesc.PropTypes.shape({
      facebook: _reactDesc.PropTypes.string.description('Facebook URL'),
      github: _reactDesc.PropTypes.string.description('GitHub URL'),
      linkedin: _reactDesc.PropTypes.string.description('LinkedIn URL'),
      telegram: _reactDesc.PropTypes.string.description('Telegram URL'),
      twitter: _reactDesc.PropTypes.string.description('Twitter URL'),
      youtube: _reactDesc.PropTypes.string.description('YouTube URL')
    }).description('An object of footer social links'),
    usaFlag: _reactDesc.PropTypes.bool.description('Show the flag').defaultValue(true),
    children: _reactDesc.PropTypes.node.description('The disclaimer. Should include a link to terms.').isRequired
  };
  return DocumentedFooter;
};

exports.doc = doc;