Skip to content

Commit

Permalink
Merge pull request react-bootstrap#504 from AlexKVal/lnt_src1
Browse files Browse the repository at this point in the history
[fixed] Missed propTypes validations for Nav, SubNav and PanelGroup.
  • Loading branch information
mtscout6 committed Apr 10, 2015
2 parents 8a9e95c + b059563 commit ba7e7c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const Nav = React.createClass({
expanded: React.PropTypes.bool,
navbar: React.PropTypes.bool,
eventKey: React.PropTypes.any,
pullRight: React.PropTypes.bool,
right: React.PropTypes.bool
},

Expand Down
3 changes: 3 additions & 0 deletions src/PanelGroup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint react/prop-types: [1, {ignore: ["children", "className", "bsStyle"]}]*/
/* BootstrapMixin contains `bsStyle` type validation */
import React, { cloneElement } from 'react';
import classNames from 'classnames';

Expand All @@ -9,6 +11,7 @@ const PanelGroup = React.createClass({

propTypes: {
collapsable: React.PropTypes.bool,
accordion: React.PropTypes.bool,
activeKey: React.PropTypes.any,
defaultActiveKey: React.PropTypes.any,
onSelect: React.PropTypes.func
Expand Down
1 change: 1 addition & 0 deletions src/SubNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const SubNav = React.createClass({
activeHref: React.PropTypes.string,
activeKey: React.PropTypes.any,
disabled: React.PropTypes.bool,
eventKey: React.PropTypes.any,
href: React.PropTypes.string,
title: React.PropTypes.string,
text: React.PropTypes.node,
Expand Down

0 comments on commit ba7e7c4

Please sign in to comment.