Skip to content

Commit

Permalink
docs: modify JSX.ELement to JSX.Element (#10344)
Browse files Browse the repository at this point in the history
Co-authored-by: 黄宝成 <huangbc@publink.cn>
  • Loading branch information
little-huang and 黄宝成 committed Feb 28, 2022
1 parent f182446 commit e9451af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vant/src/dialog/README.zh-CN.md
Expand Up @@ -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` |
Expand Down

0 comments on commit e9451af

Please sign in to comment.