fix(types/jsx): update innerHTML property in jsx typing (#1814)

This commit is contained in:
beary 2020-08-13 03:50:11 +08:00 committed by GitHub
parent a56b3bfa68
commit b984d47ac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ interface AriaAttributes {
}
export interface HTMLAttributes extends AriaAttributes {
domPropsInnerHTML?: string
innerHTML?: string
class?: any
style?: string | CSSProperties
@ -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