import { Component , Input } from '@angular/core' ; @ Component ( { selector : 'cmdb-info-box' , templateUrl : './info-box.component.html' , styleUrls : [ './info-box.component.scss' ] } ) export class InfoBoxComponent { @ Input ( ) message : string ; @ Input ( ) icon : string = 'far fa-file' ; @ Input ( ) doc : string = 'https://docs.datagerry.com' ; public hideAlert ( ) { $ ( '#infobox' ) . hide ( ) ; } }