0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 22:02:46 +00:00

Adding version number to the navbar, probably will remove

This commit is contained in:
Scott Tolksdorf
2016-05-04 02:26:13 -04:00
parent 1ce0f00b62
commit 4b482a8f0b
4 changed files with 13 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ var Nav = {
return {
icon : null,
href : null,
newTab : false,
onClick : function(){},
color : null
};
@@ -72,7 +73,7 @@ var Nav = {
if(this.props.icon) icon = <i className={'fa ' + this.props.icon} />;
if(this.props.href){
return <a href={this.props.href} className={classes} >
return <a href={this.props.href} className={classes} target={this.props.newTab ? '_blank' : '_self'}>
{this.props.children}
{icon}
</a>