mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
fix(types): style attribute svg (#12800)
Set style attribute on svg to use `StyleValue`
This commit is contained in:
parent
4cad410071
commit
8e262618cd
2
types/jsx.d.ts
vendored
2
types/jsx.d.ts
vendored
@ -731,7 +731,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
|
|||||||
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
||||||
*/
|
*/
|
||||||
class?: any
|
class?: any
|
||||||
style?: string | CSSProperties
|
style?: StyleValue
|
||||||
|
|
||||||
color?: string
|
color?: string
|
||||||
height?: Numberish
|
height?: Numberish
|
||||||
|
Loading…
Reference in New Issue
Block a user