-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(business): add icon content child to button component and template (
#188)
- Loading branch information
1 parent
1d7de22
commit 93307d0
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
projects/sbb-esta/angular-business/button/src/button/button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
<span class="sbb-svgsprite-icon"> | ||
<ng-container *ngTemplateOutlet="icon"></ng-container> | ||
</span> | ||
<ng-content></ng-content> | ||
<span class="sbb-svgsprite-icon"> | ||
<ng-container *ngTemplateOutlet="icon"></ng-container> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters