import { describe, PropTypes } from 'react-desc';
export var doc = function doc(NavBar) {
  var DocumentedNavBar = describe(NavBar).description('A nav item component').usage("import { NavBar } from '@dragonchain-dev/dragon-kit'\n      \n<NavBar />");
  DocumentedNavBar.propTypes = {
    links: PropTypes.arrayOf(PropTypes.shape({
      name: PropTypes.string.description('URL name').isRequired,
      type: PropTypes.oneOf(['link', 'route']).description('Is the URL an internal route or external link').isRequired,
      url: PropTypes.string.description('URL').isRequired,
      subNav: PropTypes.shape({
        isMega: PropTypes.bool.description('Mega menu').defaultValue(false),
        developerPanel: PropTypes.bool.description('Display developer SDK panel').defaultValue(false),
        navItems: PropTypes.arrayOf(PropTypes.shape({
          description: PropTypes.string.description('Descriptive text for a mega menu'),
          name: PropTypes.string.description('URL name').isRequired,
          icon: PropTypes.string.description('Icon name. Must be in Dragon Kit Icons'),
          type: PropTypes.oneOf(['link', 'route']).description('Is the URL an internal route or external link').isRequired,
          url: PropTypes.string.description('URL').isRequired
        }))
      })
    })).description('An array of footer URLs').isRequired
  };
  return DocumentedNavBar;
};