mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 15:42:12 +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) : [];
|
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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user