From 875275424c812fab06bd0a061fa05fb96593d0fe Mon Sep 17 00:00:00 2001 From: jquense Date: Thu, 18 Jun 2015 03:31:09 -0400 Subject: [PATCH] [added] Add linkId prop to NavItem --- src/NavItem.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NavItem.js b/src/NavItem.js index c17aec0fac..8c853e3912 100644 --- a/src/NavItem.js +++ b/src/NavItem.js @@ -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, @@ -26,6 +27,7 @@ const NavItem = React.createClass({ render() { let { role, + linkId, disabled, active, href, @@ -43,6 +45,7 @@ const NavItem = React.createClass({ href, title, target, + id: linkId, onClick: this.handleClick, ref: 'anchor' };