We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722969d commit 8752754Copy full SHA for 8752754
src/NavItem.js
@@ -6,6 +6,7 @@ const NavItem = React.createClass({
6
mixins: [BootstrapMixin],
7
8
propTypes: {
9
+ linkId: React.PropTypes.string,
10
onSelect: React.PropTypes.func,
11
active: React.PropTypes.bool,
12
disabled: React.PropTypes.bool,
@@ -26,6 +27,7 @@ const NavItem = React.createClass({
26
27
render() {
28
let {
29
role,
30
+ linkId,
31
disabled,
32
active,
33
href,
@@ -43,6 +45,7 @@ const NavItem = React.createClass({
43
45
44
46
title,
47
target,
48
+ id: linkId,
49
onClick: this.handleClick,
50
ref: 'anchor'
51
};
0 commit comments