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 Oct 12, 2022
1 parent e80cd09 commit c207dfc
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 c207dfc

Please sign in to comment.