import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; // TODO: Remove this pragma once we upgrade eslint-config-airbnb. /* eslint-disable react/no-multi-comp */ import classNames from 'classnames'; import React, { PropTypes } from 'react'; import elementType from 'react-prop-types/lib/elementType'; import uncontrollable from 'uncontrollable'; import Grid from './Grid'; import NavbarBrand from './NavbarBrand'; import NavbarCollapse from './NavbarCollapse'; import NavbarHeader from './NavbarHeader'; import NavbarToggle from './NavbarToggle'; import { bsClass as setBsClass, bsStyles, getClassSet, prefix, splitBsPropsAndOmit } from './utils/bootstrapUtils'; import { Style } from './utils/StyleConfig'; import createChainedFunction from './utils/createChainedFunction'; var propTypes = { /** * Create a fixed navbar along the top of the screen, that scrolls with the * page */ fixedTop: React.PropTypes.bool, /** * Create a fixed navbar along the bottom of the screen, that scrolls with * the page */ fixedBottom: React.PropTypes.bool, /** * Create a full-width navbar that scrolls away with the page */ staticTop: React.PropTypes.bool, /** * An alternative dark visual style for the Navbar */ inverse: React.PropTypes.bool, /** * Allow the Navbar to fluidly adjust to the page or container width, instead * of at the predefined screen breakpoints */ fluid: React.PropTypes.bool, /** * Set a custom element for this component. */ componentClass: elementType, /** * A callback fired when the `` body collapses or expands. Fired when * a `` is clicked and called with the new `navExpanded` * boolean value. * * @controllable navExpanded */ onToggle: React.PropTypes.func, /** * A callback fired when a descendant of a child `