From e9451af1be970f9eac5028980a317138b60439e5 Mon Sep 17 00:00:00 2001 From: little-huang <53588889+little-huang@users.noreply.github.com> Date: Mon, 28 Feb 2022 17:09:33 +0800 Subject: [PATCH] docs: modify JSX.ELement to JSX.Element (#10344) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 黄宝成 --- packages/vant/src/dialog/README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/dialog/README.zh-CN.md b/packages/vant/src/dialog/README.zh-CN.md index c88ffdcba..5e3354929 100644 --- a/packages/vant/src/dialog/README.zh-CN.md +++ b/packages/vant/src/dialog/README.zh-CN.md @@ -222,7 +222,7 @@ export default { | v-model:show | 是否显示弹窗 | _boolean_ | - | | title | 标题 | _string_ | - | | width | 弹窗宽度,默认单位为 `px` | _number \| string_ | `320px` | -| message | 文本内容,支持通过 `\n` 换行 | _string \| () => JSX.ELement_ | - | +| message | 文本内容,支持通过 `\n` 换行 | _string \| () => JSX.Element_ | - | | message-align | 内容水平对齐方式,可选值为 `left` `right` | _string_ | `center` | | theme | 样式风格,可选值为 `round-button` | _string_ | `default` | | show-confirm-button | 是否展示确认按钮 | _boolean_ | `true` |