Skip to content

Commit

Permalink
(fix) add missing svg attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Aug 4, 2020
1 parent 946d6c7 commit 03717c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/svelte2tsx/svelte-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,11 @@
type?: string;
width?: number | string;

// Other HTML properties supported by SVG elements in browsers
role?: string;
tabIndex?: number;
crossOrigin?: "anonymous" | "use-credentials" | "";

// SVG Specific attributes
"accent-height"?: number | string;
accumulate?: "none" | "sum";
Expand Down

0 comments on commit 03717c0

Please sign in to comment.