Skip to content

Commit efecfb3

Browse files
author
Eric Warnke
committed
Changing title prop to node
Current NavItem titles are restricted to strings, which is not how Bootstrap was designed. Changing this to node to allow for more complicated functions.
1 parent f26e39f commit efecfb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NavItem.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var NavItem = React.createClass({
1111
active: React.PropTypes.bool,
1212
disabled: React.PropTypes.bool,
1313
href: React.PropTypes.string,
14-
title: React.PropTypes.string,
14+
title: React.PropTypes.node,
1515
eventKey: React.PropTypes.any,
1616
target: React.PropTypes.string
1717
},
@@ -61,4 +61,4 @@ var NavItem = React.createClass({
6161
}
6262
});
6363

64-
module.exports = NavItem;
64+
module.exports = NavItem;

0 commit comments

Comments
 (0)