16 lines
443 B
TypeScript
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';
|
|
}
|