import { Component , Input } from '@angular/core' ; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' ; import { CmdbMode } from '../../../../modes.enum' ; import { FormGroup } from '@angular/forms' ; @ Component ( { selector : 'cmdb-preview-modal' , templateUrl : './preview-modal.component.html' , styleUrls : [ './preview-modal.component.scss' ] } ) export class PreviewModalComponent { @ Input ( ) sections : any [ ] ; public renderForm : FormGroup ; public modes = CmdbMode ; constructor ( public activeModal ) { this . renderForm = new FormGroup ( { } ) ; } }