Skip to content

Commit

Permalink
fix(types/jsx): update innerHTML property in jsx typing (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
beary authored Aug 12, 2020
1 parent a56b3bf commit b984d47
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ interface AriaAttributes {
}

export interface HTMLAttributes extends AriaAttributes {
domPropsInnerHTML?: string
innerHTML?: string

class?: any
style?: string | CSSProperties
Expand Down Expand Up @@ -735,7 +735,14 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {
}

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
height?: number | string
Expand Down

0 comments on commit b984d47

Please sign in to comment.