1 import {Component, OnInit, Input} from '@angular/core';
4 selector: 'eg-staff-banner',
6 <div class="lead alert alert-primary text-center pt-1 pb-1"
7 [ngClass]="bannerStyle ? bannerStyle : 'alert-primary'">
9 <i class="material-icons align-middle text-left" *ngIf="bannerIcon">{{bannerIcon}}</i>
10 <span i18n>{{bannerText}}</span>
16 export class StaffBannerComponent {
17 @Input() public bannerText: string;
18 @Input() public bannerIcon: string;
19 @Input() public bannerStyle: string;