2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-23 07:08:34 +00:00

fix(svelte): allow any data- attribute

This commit is contained in:
Vjacheslav Trushkin 2023-04-19 22:17:21 +03:00
parent f7cb7fd1bb
commit 854ab73968
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "@iconify/svelte", "name": "@iconify/svelte",
"description": "Iconify icon component for Svelte.", "description": "Iconify icon component for Svelte.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "3.1.2", "version": "3.1.3",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://github.com/iconify/iconify", "homepage": "https://github.com/iconify/iconify",

View File

@ -5,5 +5,5 @@ import { HTMLAttributes } from 'svelte/elements';
* Svelte component * Svelte component
*/ */
export default class Icon extends SvelteComponentTyped< export default class Icon extends SvelteComponentTyped<
IconProps & HTMLAttributes<SVGSVGElement> IconProps & HTMLAttributes<SVGSVGElement> & Record<`data-${string}`, string>
> {} > {}