From 364dc53c7cc6f97d812ad175199c698faa92538e Mon Sep 17 00:00:00 2001 From: JayMe DotDot <43527124+JayMeDotDot@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:59:44 +0800 Subject: [PATCH] fix(types): support correct types for style on svg elements (#6322) --- packages/runtime-dom/src/jsx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index fe850a7b28e..f76c8d7fb17 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -775,7 +775,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