mirror of
https://github.com/iconify/iconify.git
synced 2025-01-05 15:02:09 +00:00
fix(svelte): allow any data- attribute
This commit is contained in:
parent
f7cb7fd1bb
commit
854ab73968
@ -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",
|
||||
|
2
components/svelte/src/svelte.d.ts
vendored
2
components/svelte/src/svelte.d.ts
vendored
@ -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>
|
||||
> {}
|
||||
|
Loading…
Reference in New Issue
Block a user