Skip to content

Commit

Permalink
fix(types): support correct types for style on svg elements (#6322)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayMeDotDot committed Jul 10, 2023
1 parent 68d6b43 commit 364dc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
*/
class?: any
style?: string | CSSProperties
style?: StyleValue

color?: string
height?: Numberish
Expand Down

0 comments on commit 364dc53

Please sign in to comment.