mirror of
https://github.com/flarum/core.git
synced 2025-08-04 07:27:39 +02:00
Admin link button typing minor cleanup
This commit is contained in:
committed by
David Sevilla Martín
parent
df08d174ff
commit
8437e44112
@@ -4,7 +4,7 @@ interface AdminLinkButtonProps extends LinkButtonProps {
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export default class AdminLinkButton extends LinkButton<AdminLinkButtonProps> {
|
||||
export default class AdminLinkButton<T extends AdminLinkButtonProps = AdminLinkButtonProps> extends LinkButton<T> {
|
||||
getButtonContent() {
|
||||
const content = super.getButtonContent(this.props.icon, this.props.loading, this.props.children);
|
||||
|
||||
|
Reference in New Issue
Block a user