All files / src/lib/tl-icon tl-icon.component.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                  1x     85x     85x                   85x        
import { ChangeDetectionStrategy, Component, Injector, Input } from '@angular/core';
import { TamuAbstractBaseComponent } from '../shared/tl-abstract-base.component';
 
@Component({
  selector: 'tl-icon-component',
  templateUrl: './tl-icon.component.html',
  styleUrls: ['./tl-icon.component.scss'],
  changeDetection: ChangeDetectionStrategy.Default
})
export class TlIconComponent extends TamuAbstractBaseComponent {
 
  /** Used to define the icon set. */
  @Input() set = 'tl';
 
  /** Used to define the name for icon component.  */
  @Input() name = 'tamu-logo';
 
  /** Used to define the color for icon component.  */
  @Input() color;
 
  /** Used to define the size for icon component.  */
  @Input() size;
 
  // tslint:disable-next-line:unnecessary-constructor
  constructor(injector: Injector) {
    super(injector);
  }
 
}