Skip to content

Commit

Permalink
(fix) adjust svg attributes
Browse files Browse the repository at this point in the history
tabindex / crossorigin -> lowercase
#387
  • Loading branch information
dummdidumm committed Aug 11, 2020
1 parent a0d52d9 commit 6ebf1a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/svelte2tsx/svelte-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@

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

// SVG Specific attributes
"accent-height"?: number | string;
Expand Down Expand Up @@ -469,8 +469,8 @@
filter?: string;
filterRes?: number | string;
filterUnits?: number | string;
floodColor?: number | string;
floodOpacity?: number | string;
"flood-color"?: number | string;
"flood-opacity"?: number | string;
focusable?: number | string;
"font-family"?: string;
"font-size"?: number | string;
Expand Down

0 comments on commit 6ebf1a4

Please sign in to comment.