From c207dfcf32c2d1821a5a4ebb260e9860a41071ba Mon Sep 17 00:00:00 2001 From: Blake Newman Date: Wed, 12 Oct 2022 14:24:26 +0100 Subject: [PATCH] fix(types): style attribute svg (#12800) Set style attribute on svg to use `StyleValue` --- types/jsx.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jsx.d.ts b/types/jsx.d.ts index 85c9c1df23d..4924f4c643c 100644 --- a/types/jsx.d.ts +++ b/types/jsx.d.ts @@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers { * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling */ class?: any - style?: string | CSSProperties + style?: StyleValue color?: string height?: Numberish