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:
parent
f7cb7fd1bb
commit
854ab73968
@ -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",
|
||||||
|
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
|
* Svelte component
|
||||||
*/
|
*/
|
||||||
export default class Icon extends SvelteComponentTyped<
|
export default class Icon extends SvelteComponentTyped<
|
||||||
IconProps & HTMLAttributes<SVGSVGElement>
|
IconProps & HTMLAttributes<SVGSVGElement> & Record<`data-${string}`, string>
|
||||||
> {}
|
> {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user