/* eslint react/no-multi-comp: 0, react/prop-types: 0 */ import React from 'react'; import { PrismCode } from 'react-prism'; import Helmet from 'react-helmet'; import NavsExample from '../examples/Navs'; const NavsExampleSource = require('!!raw!../examples/Navs'); import NavVerticalExample from '../examples/NavVertical'; const NavVerticalExampleSource = require('!!raw!../examples/NavVertical'); import NavTabsExample from '../examples/NavTabs'; const NavTabsExampleSource = require('!!raw!../examples/NavTabs'); import NavPillsExample from '../examples/NavPills'; const NavPillsExampleSource = require('!!raw!../examples/NavPills'); export default class NavssPage extends React.Component { render() { return (

Navs

          
            {NavsExampleSource}
          
        

Nav Properties

          
{`Nav.propTypes = {
  tabs: PropTypes.bool,
  pills: PropTypes.bool,
  card: PropTypes.bool,
  justified: PropTypes.bool,
  fill: PropTypes.bool,
  vertical: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
  horizontal: PropTypes.string,
  navbar: PropTypes.bool,
  tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
  // pass in custom element to use
}`}
          
        

NavItem Properties

          
{`NavItem.propTypes = {
  tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
  // pass in custom element to use
}`}
          
        

NavLink Properties

          
{`NavLink.propTypes = {
  disabled: PropTypes.bool,
  active: PropTypes.bool,
  tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
  // pass in custom element to use
}`}
          
        

NavDropdown Properties

          
{`NavDropdown.propTypes = {
  disabled: PropTypes.bool,
  dropup: PropTypes.bool,
  group: PropTypes.bool,
  isOpen: PropTypes.bool,
  tag: PropTypes.string,
  toggle: PropTypes.func
};`}
          
        

Vertical

          
            {NavVerticalExampleSource}
          
        

Tabs

          
            {NavTabsExampleSource}
          
        

Pills

          
            {NavPillsExampleSource}
          
        
); } }