diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2020-01-20 14:28:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-20 14:28:51 +0000 |
commit | b96cada06214d609d32a38ca89d71cc53169324c (patch) | |
tree | 35fcc081205b4ea6d972a6bf1d1d6e75f08e3339 /vid-webpack-master/src/app/shared/components/customButton | |
parent | 06b0edf4736bde914aeefb9c13625cf3a0fbb669 (diff) | |
parent | 3279721d72b3e5adadf5431c58383e71f6b080d7 (diff) |
Merge "Move onap UI loader and icons to VID"
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customButton')
-rw-r--r-- | vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html b/vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html index 753a3923b..a50522a67 100644 --- a/vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html +++ b/vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html @@ -2,15 +2,15 @@ <button class="custom-button sdc-button__{{ type }} btn-{{ size }} {{ iconPositionClass }}" [disabled]="disabled || show_spinner" [attr.data-tests-id]="testId"> - <svg-icon + <custom-icon *ngIf="icon_name" [name]="icon_name" [mode]="icon_mode" [size]="'medium'" > - </svg-icon> + </custom-icon> {{text}} </button> - <svg-icon *ngIf="show_spinner" name="spinner" [size]="'medium'" class="sdc-button__spinner" - [ngClass]="{left: spinner_position === placement.right}"></svg-icon> + <custom-icon *ngIf="show_spinner" name="spinner" [size]="'medium'" class="sdc-button__spinner" + [ngClass]="{left: spinner_position === placement.right}"></custom-icon> </div> |