mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
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
Block a user