fix(types): style attribute svg (#12800)

Set style attribute on svg to use `StyleValue`
This commit is contained in:
Blake Newman 2022-10-12 14:24:26 +01:00 committed by Evan You
parent 4cad410071
commit 8e262618cd

2
types/jsx.d.ts vendored
View File

@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
*/
class?: any
style?: string | CSSProperties
style?: StyleValue
color?: string
height?: Numberish