Added clickable state to callout component (#282)
This commit is contained in:
parent
8a3b551c6e
commit
11b8c5b5e8
|
@ -1,4 +1,4 @@
|
|||
<div class="callout callout-{{calloutStyle}}" role="alert">
|
||||
<div class="callout callout-{{calloutStyle}}" [ngClass]="{'clickable': clickable}" role="alert">
|
||||
<h3 class="callout-heading" *ngIf="title">
|
||||
<i class="fa {{icon}}" *ngIf="icon" aria-hidden="true"></i>
|
||||
{{title}}
|
||||
|
|
|
@ -14,6 +14,7 @@ export class CalloutComponent implements OnInit {
|
|||
@Input() type = 'info';
|
||||
@Input() icon: string;
|
||||
@Input() title: string;
|
||||
@Input() clickable: boolean;
|
||||
|
||||
calloutStyle: string;
|
||||
|
||||
|
|
Loading…
Reference in New Issue