mirror of
https://github.com/flarum/core.git
synced 2025-10-19 02:36:08 +02:00
16 lines
334 B
JavaScript
16 lines
334 B
JavaScript
import LinkButton from 'flarum/components/LinkButton';
|
|
|
|
export default class AdminLinkButton extends LinkButton {
|
|
getButtonContent() {
|
|
const content = super.getButtonContent();
|
|
|
|
content.push(
|
|
<div className="AdminLinkButton-description">
|
|
{this.props.description}
|
|
</div>
|
|
);
|
|
|
|
return content;
|
|
}
|
|
}
|