mirror of
https://github.com/flarum/framework.git
synced 2025-04-25 22:24:04 +08:00
parent
c019ed6fb0
commit
ffcba1f173
@ -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