Skip to content

Commit 364dc53

Browse files
authored
fix(types): support correct types for style on svg elements (#6322)
1 parent 68d6b43 commit 364dc53

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime-dom/src

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/jsx.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
775775
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
776776
*/
777777
class?: any
778-
style?: string | CSSProperties
778+
style?: StyleValue
779779

780780
color?: string
781781
height?: Numberish

0 commit comments

Comments
 (0)