1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-17 07:53:46 +00:00

icon component

This commit is contained in:
Kyle Spearrin
2018-01-23 17:29:30 -05:00
parent a781ba9096
commit 41797f5ce4
5 changed files with 96 additions and 0 deletions

View File

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