Skip to content

Commit

Permalink
Changing title prop to node
Browse files Browse the repository at this point in the history
Current NavItem titles are restricted to strings, which is not how Bootstrap was designed. Changing this to node to allow for more complicated functions.
  • Loading branch information
Eric Warnke committed Feb 17, 2015
1 parent f26e39f commit efecfb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NavItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var NavItem = React.createClass({
active: React.PropTypes.bool,
disabled: React.PropTypes.bool,
href: React.PropTypes.string,
title: React.PropTypes.string,
title: React.PropTypes.node,
eventKey: React.PropTypes.any,
target: React.PropTypes.string
},
Expand Down Expand Up @@ -61,4 +61,4 @@ var NavItem = React.createClass({
}
});

module.exports = NavItem;
module.exports = NavItem;

0 comments on commit efecfb3

Please sign in to comment.