2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-19 00:39:02 +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",
"description": "Iconify icon component for Svelte.",
"author": "Vjacheslav Trushkin",
"version": "3.1.2",
"version": "3.1.3",
"license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://github.com/iconify/iconify",

View File

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