"use strict";

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

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

var doc = function doc(PageNav) {
  var DocumentedPageNav = (0, _reactDesc.describe)(PageNav).description('A Page navigation component').usage("import { PageNav } from '@dragonchain-dev/dragon-kit'\n      \n<PageNav\n  sticky\n  items={[\n    { id: 'features', title: 'Features' },\n    { id: 'applications', title: 'Applications' },\n    { id: 'faq', title: 'FAQs' },\n  ]}\n/>");
  DocumentedPageNav.propTypes = {
    sticky: _reactDesc.PropTypes.bool.description('Make the nav bar sticky').defaultValue(false),
    items: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.shape({
      id: _reactDesc.PropTypes.string.description('Page anchor').isRequired,
      title: _reactDesc.PropTypes.string.description('Nav item title').isRequired
    })).description('An array nav items').isRequired,
    className: _reactDesc.PropTypes.string.description('Additional class to add to the nav bar').isRequired
  };
  return DocumentedPageNav;
};

exports.doc = doc;