Skip to content

Commit

Permalink
Add Astro attributes to svg elements (withastro#3205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh authored Apr 26, 2022
1 parent 8901472 commit d8bd586
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,10 @@ declare namespace astroHTML.JSX {
// - "number | string"
// - "string"
// - union of string literals
interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DOMAttributes<T> {
interface SVGAttributes<T extends EventTarget>
extends AriaAttributes,
DOMAttributes<T>,
AstroBuiltinAttributes {
// Attributes which also defined in HTMLAttributes
className?: string | undefined | null;
class?: string | undefined | null;
Expand Down

0 comments on commit d8bd586

Please sign in to comment.