validate chords

This commit is contained in:
2026-03-11 16:18:36 +01:00
parent 03fb395605
commit ae4459f5ce
12 changed files with 538 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
<button mat-button>
<button [disabled]="disabled" mat-button>
@if (icon) {
<span
><fa-icon [icon]="icon"></fa-icon><span class="content">&nbsp;</span></span

View File

@@ -11,5 +11,6 @@ import {FaIconComponent} from '@fortawesome/angular-fontawesome';
imports: [MatButton, FaIconComponent],
})
export class ButtonComponent {
@Input() public disabled = false;
@Input() public icon: IconProp | null = null;
}