import { Component , Input } from '@angular/core' ; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' ; @ Component ( { selector : 'cmdb-general-modal' , templateUrl : './general-modal.component.html' , styleUrls : [ './general-modal.component.scss' ] } ) export class GeneralModalComponent { @ Input ( ) title = 'Information' ; @ Input ( ) modalIcon = 'trash' ; @ Input ( ) modalMessage = 'Are you sure, you want to delete all selected objects?' ; @ Input ( ) subModalMessage = '' ; @ Input ( ) buttonDeny = 'Cancel' ; @ Input ( ) buttonAccept = 'Accept' ; constructor ( public activeModal ) { } }