Always use label as tooltip for header icons

Closes #496.
This commit is contained in:
Franz Liedke 2015-09-16 08:45:45 +02:00
parent 63911efbcc
commit 91a31e0149

View File

@ -32,7 +32,9 @@ export default class Dropdown extends Component {
const items = this.props.children ? listItems(this.props.children) : []; const items = this.props.children ? listItems(this.props.children) : [];
return ( return (
<div className={'ButtonGroup Dropdown dropdown ' + this.props.className + ' itemCount' + items.length}> <div
title={this.props.label}
className={'ButtonGroup Dropdown dropdown ' + this.props.className + ' itemCount' + items.length}>
{this.getButton()} {this.getButton()}
{this.getMenu(items)} {this.getMenu(items)}
</div> </div>