mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 06:24:26 +08:00
parent
63911efbcc
commit
91a31e0149
@ -32,7 +32,9 @@ export default class Dropdown extends Component {
|
||||
const items = this.props.children ? listItems(this.props.children) : [];
|
||||
|
||||
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.getMenu(items)}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user