Skip to content

Commit

Permalink
fix(types): 增加组件标准属性 dangerouslySetInnerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder authored and Chen-jj committed Aug 3, 2020
1 parent bc3e18d commit f710210
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/taro-components/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ export interface StandardProps extends EventProps {
animation?: { actions: object[] }
/** 引用 */
ref?: LegacyRef<any>
/**
* 渲染 HTML
* @see https://taro-docs.jd.com/taro/docs/html
*/
dangerouslySetInnerHTML?: {
__html: string;
}
}

export interface FormItemProps {
Expand Down

0 comments on commit f710210

Please sign in to comment.