projects/ng-jkmdev-github/src/lib/shared/icons/icon/icon.component.ts
selector | icon |
template | NO UI |
color
|
Type: |
width
|
Type: |
constructor()
|
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'icon',
template: 'NO UI'
})
export class IconComponent implements OnInit {
@Input() width: number;
@Input() color: string;
constructor() {}
ngOnInit() {
this.width = 30;
this.color = "#010b0f";
}
}