* fix: use OnPush change detection on the keymap edit and add pages * fix: font-size
18 lines
379 B
TypeScript
18 lines
379 B
TypeScript
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'icon',
|
|
templateUrl: './icon.component.html',
|
|
styleUrls: ['./icon.component.scss'],
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
})
|
|
export class IconComponent implements OnInit {
|
|
|
|
@Input() name: string;
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() { }
|
|
|
|
}
|