Skip to content

Commit

Permalink
define type for props.activeHref
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed Apr 6, 2015
1 parent d488e95 commit c43cede
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CollapsableNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const CollapsableNav = React.createClass({

propTypes: {
onSelect: React.PropTypes.func,
activeHref: React.PropTypes.string,
activeKey: React.PropTypes.any,
expanded: React.PropTypes.bool,
eventKey: React.PropTypes.any
Expand Down
1 change: 1 addition & 0 deletions src/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const Nav = React.createClass({
mixins: [BootstrapMixin, CollapsableMixin],

propTypes: {
activeHref: React.PropTypes.string,
activeKey: React.PropTypes.any,
bsStyle: React.PropTypes.oneOf(['tabs', 'pills']),
stacked: React.PropTypes.bool,
Expand Down
1 change: 1 addition & 0 deletions src/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const Panel = React.createClass({
collapsable: React.PropTypes.bool,
onSelect: React.PropTypes.func,
header: React.PropTypes.node,
id: React.PropTypes.string,
footer: React.PropTypes.node,
eventKey: React.PropTypes.any
},
Expand Down
1 change: 1 addition & 0 deletions src/SubNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const SubNav = React.createClass({
propTypes: {
onSelect: React.PropTypes.func,
active: React.PropTypes.bool,
activeHref: React.PropTypes.string,
activeKey: React.PropTypes.any,
disabled: React.PropTypes.bool,
href: React.PropTypes.string,
Expand Down

0 comments on commit c43cede

Please sign in to comment.