fix(types/jsx): update innerHTML property in jsx typing (#1814)
This commit is contained in:
parent
a56b3bfa68
commit
b984d47ac4
11
packages/runtime-dom/types/jsx.d.ts
vendored
11
packages/runtime-dom/types/jsx.d.ts
vendored
@ -246,7 +246,7 @@ interface AriaAttributes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface HTMLAttributes extends AriaAttributes {
|
export interface HTMLAttributes extends AriaAttributes {
|
||||||
domPropsInnerHTML?: string
|
innerHTML?: string
|
||||||
|
|
||||||
class?: any
|
class?: any
|
||||||
style?: string | CSSProperties
|
style?: string | CSSProperties
|
||||||
@ -735,7 +735,14 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface SVGAttributes extends AriaAttributes {
|
export interface SVGAttributes extends AriaAttributes {
|
||||||
domPropsInnerHTML?: string
|
innerHTML?: string
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SVG Styling Attributes
|
||||||
|
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
||||||
|
*/
|
||||||
|
class?: any
|
||||||
|
style?: string | CSSProperties
|
||||||
|
|
||||||
color?: string
|
color?: string
|
||||||
height?: number | string
|
height?: number | string
|
||||||
|
Loading…
Reference in New Issue
Block a user