All files / app/components/utilities/text-paragraph text-paragraph.component.ts

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

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                          1x   69x    
import { Component, Input } from '@angular/core';
import { Paragraph } from '../../classes/paragraph/paragraph';
import { TextSubParagraphComponent } from '../text-sub-paragraph/text-sub-paragraph.component';
import { CommonModule } from '@angular/common';
 
/** Component used to display a {@link Paragraph} entity. */
@Component({
  selector: 'app-text-paragraph',
  templateUrl: './text-paragraph.component.html',
  styleUrls: ['./text-paragraph.component.css'],
  standalone: true,
  imports: [CommonModule, TextSubParagraphComponent],
})
export class TextParagraphComponent {
  /** The {@link Paragraph} entity to display. */
  @Input() paragraph: Paragraph = new Paragraph([]);
}