Add title prop to Link class
This commit is contained in:
parent
a6b97d75ab
commit
8a9d883956
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ var Link = React.createClass({
|
|||
className = (this.props.button ? 'button-block button-' + this.props.button : 'button-text') +
|
||||
(this.props.hidden ? ' hidden' : '') + (this.props.disabled ? ' disabled' : '');
|
||||
return (
|
||||
<a className={className} href={href} style={this.props.style ? this.props.style : {}} onClick={this.props.onClick}>
|
||||
<a className={className} href={href} style={this.props.style ? this.props.style : {}}
|
||||
title={this.props.title} onClick={this.props.onClick}>
|
||||
{this.props.icon ? icon : '' }
|
||||
{this.props.label}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue