File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 1313 copied: animateIconSpin,
1414 }"
1515 >
16- <span >
17- <slot v-if =" !iconShownLeft" />
18- <muc-icon
19- v-if =" icon"
20- :icon =" icon"
21- class =" m-button__icon"
22- :class =" {
23- 'm-button__icon--after': !iconShownLeft && variant != 'icon',
24- 'm-button__icon--before': iconShownLeft && variant != 'icon',
25- 'no-left-margin': variant == 'icon',
26- }"
27- />
28- <slot v-if =" iconShownLeft" />
29- </span >
16+ <slot v-if =" !iconShownLeft" />
17+ <muc-icon
18+ v-if =" icon"
19+ :icon =" icon"
20+ class =" m-button__icon"
21+ :class =" {
22+ 'm-button__icon--after': !iconShownLeft && variant != 'icon',
23+ 'm-button__icon--before': iconShownLeft && variant != 'icon',
24+ 'no-left-margin': variant == 'icon',
25+ }"
26+ />
27+ <slot v-if =" iconShownLeft" />
3028 </button >
3129</template >
3230
You can’t perform that action at this time.
0 commit comments