mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 06:39:57 +08:00
Appearance tweaks
This commit is contained in:
@ -47,7 +47,7 @@ export default class Button extends Component {
|
||||
const iconName = this.props.icon;
|
||||
|
||||
return [
|
||||
iconName ? icon(iconName, {className: 'Button-icon'}) : '',
|
||||
iconName ? icon(iconName, {className: 'Button-icon'}) : '', ' ',
|
||||
this.props.children ? <span className="Button-label">{this.props.children}</span> : ''
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user