Skip to content

Commit 8e26261

Browse files
blake-newmanyyx990803
authored andcommitted
fix(types): style attribute svg (#12800)
Set style attribute on svg to use `StyleValue`
1 parent 4cad410 commit 8e26261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/jsx.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
731731
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
732732
*/
733733
class?: any
734-
style?: string | CSSProperties
734+
style?: StyleValue
735735

736736
color?: string
737737
height?: Numberish

0 commit comments

Comments
 (0)