mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 14:49:57 +08:00
Discussion list refactor, gestures
Also make base Component class automatically assign this.element :)
This commit is contained in:
@ -10,7 +10,7 @@ export default class DropdownButton extends Component {
|
||||
'data-toggle': 'dropdown',
|
||||
onclick: this.props.buttonClick
|
||||
}, this.props.buttonContent || [
|
||||
icon((this.props.icon || 'ellipsis-v')+' icon-glyph'),
|
||||
icon((this.props.icon || 'ellipsis-v')+' icon-glyph icon'),
|
||||
m('span.label', this.props.label || 'Controls'),
|
||||
icon('caret-down icon-caret')
|
||||
]),
|
||||
|
Reference in New Issue
Block a user