File

projects/ng-jkmdev-github/src/lib/shared/icons/icon/icon.component.ts

Metadata

selector icon
template NO UI

Inputs

color

Type: string

width

Type: number

Constructor

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";
  }

}

results matching ""

    No results matching ""