This repository has been archived on 2024-06-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
NitroPlusTranslator/nwaifu-ui/src/lib/components/button/button.component.ts

16 lines
443 B
TypeScript

import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
@Component({
selector: 'nwui-button',
templateUrl: './button.component.html',
styleUrls: ['./button.component.scss'],
standalone: true,
imports: [CommonModule],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class NWUIButtonComponent {
@Input() disabled = false;
@Input() type = 'button';
}