We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb128c9 + d1debef commit f28decfCopy full SHA for f28decf
src/components/ActionButton/ActionButton.vue
@@ -85,12 +85,12 @@ export default {
85
:aria-label="ariaLabel"
86
:class="{ focusable: isFocusable }"
87
@click="onClick">
88
- <!-- @slot Manually provide icon -->
89
- <slot name="icon">
90
- <span :class="[isIconUrl ? 'action-button__icon--url' : icon]"
91
- :style="{ backgroundImage: isIconUrl ? `url(${icon})` : null }"
92
- class="action-button__icon" />
93
- </slot>
+ <span :class="[isIconUrl ? 'action-button__icon--url' : icon]"
+ :style="{ backgroundImage: isIconUrl ? `url(${icon})` : null }"
+ class="action-button__icon">
+ <!-- @slot Manually provide icon -->
+ <slot name="icon" />
+ </span>
94
95
<!-- long text with title -->
96
<p v-if="title">
0 commit comments