Skip to content

Commit b984d47

Browse files
authored
fix(types/jsx): update innerHTML property in jsx typing (#1814)
1 parent a56b3bf commit b984d47

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/runtime-dom/types/jsx.d.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ interface AriaAttributes {
246246
}
247247

248248
export interface HTMLAttributes extends AriaAttributes {
249-
domPropsInnerHTML?: string
249+
innerHTML?: string
250250

251251
class?: any
252252
style?: string | CSSProperties
@@ -735,7 +735,14 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {
735735
}
736736

737737
export interface SVGAttributes extends AriaAttributes {
738-
domPropsInnerHTML?: string
738+
innerHTML?: string
739+
740+
/**
741+
* SVG Styling Attributes
742+
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
743+
*/
744+
class?: any
745+
style?: string | CSSProperties
739746

740747
color?: string
741748
height?: number | string

0 commit comments

Comments
 (0)