fix(types): support correct types for style on svg elements (#6322)

This commit is contained in:
JayMe DotDot 2023-07-10 17:59:44 +08:00 committed by GitHub
parent 68d6b43f7e
commit 364dc53c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,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