2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-19 16:59:02 +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", "name": "@iconify/vue",
"description": "Iconify icon component for Vue 3.", "description": "Iconify icon component for Vue 3.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "4.0.1", "version": "4.0.2",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",

View File

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

View File

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