mirror of
https://github.com/iconify/iconify.git
synced 2025-01-07 07:34:22 +00:00
chore: add span types to svelte component to allow title
This commit is contained in:
parent
4161317149
commit
6762b67266
5
components/svelte/src/svelte.d.ts
vendored
5
components/svelte/src/svelte.d.ts
vendored
@ -5,5 +5,8 @@ import type { SvelteHTMLElements } from 'svelte/elements';
|
|||||||
* Svelte component
|
* Svelte component
|
||||||
*/
|
*/
|
||||||
export default class Icon extends SvelteComponent<
|
export default class Icon extends SvelteComponent<
|
||||||
IconProps & SvelteHTMLElements['svg'] & Record<`data-${string}`, string>
|
SvelteHTMLElements['svg'] &
|
||||||
|
SvelteHTMLElements['span'] &
|
||||||
|
IconProps &
|
||||||
|
Record<`data-${string}`, string>
|
||||||
> {}
|
> {}
|
||||||
|
Loading…
Reference in New Issue
Block a user