Skip to content

Commit 03717c0

Browse files
authored
(fix) add missing svg attributes
#387
1 parent 946d6c7 commit 03717c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/svelte2tsx/svelte-jsx.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,11 @@
399399
type?: string;
400400
width?: number | string;
401401

402+
// Other HTML properties supported by SVG elements in browsers
403+
role?: string;
404+
tabIndex?: number;
405+
crossOrigin?: "anonymous" | "use-credentials" | "";
406+
402407
// SVG Specific attributes
403408
"accent-height"?: number | string;
404409
accumulate?: "none" | "sum";

0 commit comments

Comments
 (0)