2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-08 14:20:57 +00:00

chore: add span types to svelte component to allow title

This commit is contained in:
Vjacheslav Trushkin 2023-12-22 23:21:11 +02:00
parent 4161317149
commit 6762b67266

View File

@ -5,5 +5,8 @@ import type { SvelteHTMLElements } from 'svelte/elements';
* Svelte component
*/
export default class Icon extends SvelteComponent<
IconProps & SvelteHTMLElements['svg'] & Record<`data-${string}`, string>
SvelteHTMLElements['svg'] &
SvelteHTMLElements['span'] &
IconProps &
Record<`data-${string}`, string>
> {}