validate chords
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<button mat-button>
|
||||
<button [disabled]="disabled" mat-button>
|
||||
@if (icon) {
|
||||
<span
|
||||
><fa-icon [icon]="icon"></fa-icon><span class="content"> </span></span
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user