From 6762b67266ceca9f37e7260f2c460509c2a6d5f0 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Fri, 22 Dec 2023 23:21:11 +0200 Subject: [PATCH] chore: add span types to svelte component to allow title --- components/svelte/src/svelte.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/svelte/src/svelte.d.ts b/components/svelte/src/svelte.d.ts index 3d3d184..c3952f6 100644 --- a/components/svelte/src/svelte.d.ts +++ b/components/svelte/src/svelte.d.ts @@ -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> > {}