Skip to content

Commit 6b47aa6

Browse files
committed
Fix: button label uses Text component instead of span
1 parent 8caae0d commit 6b47aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Button/Button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ UnstyledButton(
1515
)
1616
slot(v-if="hasSlot(slots.icon)" name="icon")
1717
Icon(v-else-if="icon", :source="loading ? 'placeholder' : icon")
18-
span(
18+
Text(
1919
v-if="hasChildren",
2020
as="span",
2121
:variant="size === 'large' || hasPlainText ? 'bodyMd' : 'bodySm'",

0 commit comments

Comments
 (0)