import { Component, Input } from '@angular/core';

@Component({
    selector: 'my-checkbox',
    template: `
      <Label height="100%" *ngIf="checked" text="&#xf14a;" class="far"></Label>
      <Label height="100%" *ngIf="!checked" text="&#xf0c8;" class="far"></Label>
    `,
    styleUrls: ['./_my-checkbox.component.scss']
  })
  export class MyCheckboxComponent {
    @Input() checked = false;
  }
