Skip to content

Commit

Permalink
[added] Add linkId prop to NavItem
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jun 18, 2015
1 parent 722969d commit 8752754
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NavItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const NavItem = React.createClass({
mixins: [BootstrapMixin],

propTypes: {
linkId: React.PropTypes.string,
onSelect: React.PropTypes.func,
active: React.PropTypes.bool,
disabled: React.PropTypes.bool,
Expand All @@ -26,6 +27,7 @@ const NavItem = React.createClass({
render() {
let {
role,
linkId,
disabled,
active,
href,
Expand All @@ -43,6 +45,7 @@ const NavItem = React.createClass({
href,
title,
target,
id: linkId,
onClick: this.handleClick,
ref: 'anchor'
};
Expand Down

0 comments on commit 8752754

Please sign in to comment.