1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

more icon component into jslib

This commit is contained in:
Kyle Spearrin
2018-04-04 17:04:31 -04:00
parent fd19efa9f2
commit d429cd2199
4 changed files with 97 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
<div class="icon">
<img [src]="image" appFallbackSrc="{{fallbackImage}}" *ngIf="imageEnabled && image" alt="" />
<i class="fa fa-fw fa-lg {{icon}}" *ngIf="!imageEnabled || !image"></i>
</div>