From a09376d6bbd7f1d172c64d8677b7c9d5696e80e0 Mon Sep 17 00:00:00 2001 From: Blake Newman Date: Fri, 23 Sep 2022 12:05:18 +0100 Subject: [PATCH] fix(types): style attribute svg 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