Skip to content

Commit

Permalink
fix(type): fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKonka committed Sep 16, 2024
1 parent 9bf6b97 commit f1f42ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/taro-components/types/RichText.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ interface RichTextProps extends StandardProps {
*/
space?: keyof RichTextProps.TSpace
/** 富文本是否可以长按选中,可用于复制,粘贴,长按搜索等场景
* @default false(基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
* @default false (基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
* @supported swan, h5, harmony_hybrid
*/
selectable?: string
selectable?: boolean
/** 阻止长按图片时弹起默认菜单(将该属性设置为image-menu-prevent或image-menu-prevent="true"),只在初始化时有效,不能动态变更;若不想阻止弹起默认菜单,则不需要设置此属性
* @default false
* @supported swan
*/
imageMenuPrevent?: string
imageMenuPrevent?: boolean
/** 富文本中的图片是否可点击预览。在不设置的情况下,若 rich-text 未监听点击事件,则默认开启。未显示设置 preview 时会进行点击默认预览判断,建议显示设置 preview
* @supported swan
*/
preview?: string
preview?: boolean
/** 触摸。
* @supported alipay
*/
Expand Down

0 comments on commit f1f42ad

Please sign in to comment.