mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-28 10:48:49 -04:00
16 lines
441 B
TypeScript
16 lines
441 B
TypeScript
import { Component, ChangeDetectionStrategy, input } from '@angular/core';
|
|
import { NgIcon } from '@ng-icons/core';
|
|
|
|
@Component({
|
|
selector: 'app-icon',
|
|
standalone: true,
|
|
imports: [NgIcon],
|
|
templateUrl: './icon.component.html',
|
|
styleUrl: './icon.component.scss',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
})
|
|
export class IconComponent {
|
|
name = input.required<string>();
|
|
size = input<'sm' | 'md' | 'lg' | 'xl'>('md');
|
|
}
|