2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

fix: revert types change in Vue component

This commit is contained in:
Vjacheslav Trushkin 2022-12-12 16:44:46 +02:00
parent 9c7c280f13
commit eb3babc071
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"name": "@iconify/vue",
"description": "Iconify icon component for Vue 3.",
"author": "Vjacheslav Trushkin",
"version": "4.0.1",
"version": "4.0.2",
"license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/",

View File

@ -236,7 +236,7 @@ interface IconComponentData {
classes?: string[];
}
export const Icon = defineComponent<IconProps>({
export const Icon = defineComponent({
// Do not inherit other attributes: it is handled by render()
inheritAttrs: false,

View File

@ -73,7 +73,7 @@ export function addCollection(
/**
* Component
*/
export const Icon = defineComponent<IconProps>({
export const Icon = defineComponent({
// Do not inherit other attributes: it is handled by render()
inheritAttrs: false,