diff --git a/packages/icons-vue/src/createVueComponent.ts b/packages/icons-vue/src/createVueComponent.ts index 0626058ba4..c1ecc1a4d5 100644 --- a/packages/icons-vue/src/createVueComponent.ts +++ b/packages/icons-vue/src/createVueComponent.ts @@ -9,7 +9,7 @@ const createVueComponent = iconNamePascal: string, iconNode: IconNode, ): Icon => - ({ color = 'currentColor', size, stroke, title, class: classes, ...rest }: IconProps, { attrs, slots }) => { + ({ color = 'currentColor', size = 24, stroke = 2, title, class: classes, ...rest }: IconProps, { attrs, slots }) => { let children = [...iconNode.map((child) => h(...child)), ...(slots.default ? [slots.default()] : [])]; if (title) children = [h('title', title), ...children]; return h(