All files / app/ui-components/booking-card booking-card.component.ts

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

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                  1x                 8x 8x 8x 8x      
import {Component, Input} from '@angular/core';
import {faAngleRight, faClock, faLocationPin, faUser } from '@fortawesome/free-solid-svg-icons';
import {DateTime, Duration} from "luxon";
 
@Component({
  selector: 'app-booking-card',
  templateUrl: './booking-card.component.html',
  styleUrls: ['./booking-card.component.css']
})
export class BookingCardComponent {
  @Input() name: string | undefined;
  @Input() description: string | undefined;
  @Input() course: string | undefined;
  @Input() coach: string | undefined;
  @Input() date: DateTime | undefined;
  @Input() duration: Duration | undefined;
  @Input() ongoing: boolean | undefined;
 
  protected readonly faUser = faUser;
  protected readonly faClock = faClock;
  protected readonly faAngleRight = faAngleRight;
  protected readonly faLocationPin = faLocationPin;
}