Skip to content

Commit

Permalink
fix(types): style attribute svg (#12800)
Browse files Browse the repository at this point in the history
Set style attribute on svg to use `StyleValue`
  • Loading branch information
blake-newman authored and yyx990803 committed Oct 12, 2022
1 parent 4cad410 commit 8e26261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e26261

Please sign in to comment.