Skip to content

Commit c207dfc

Browse files
authored
fix(types): style attribute svg (#12800)
Set style attribute on svg to use `StyleValue`
1 parent e80cd09 commit c207dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)