diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customButton/custom-button.component.html')
-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> |