We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4be8b commit 28016fcCopy full SHA for 28016fc
1 file changed
app/components/Button/Base.vue
@@ -18,7 +18,9 @@ const props = withDefaults(
18
)
19
20
const el = useTemplateRef('el')
21
-const slots = useSlots()
+const slots = defineSlots<{
22
+ default?: () => unknown;
23
+}>()
24
const iconOnly = computed(() => !!props.classicon && !slots.default)
25
26
defineExpose({
0 commit comments