docs: change the default value 'closeable' (#47730)

Change the default value of the attribute 'closeable' from true to false

Signed-off-by: yingjiechen <53926916+jj19100@users.noreply.github.com>
This commit is contained in:
yingjiechen 2024-03-07 12:39:40 +08:00 committed by GitHub
parent 3d7a3813ed
commit c2938c14f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ demo:
| cancelText | 设置 Modal.confirm 取消按钮文字 | string | `取消` | |
| centered | 垂直居中展示 Modal | boolean | false | |
| className | 容器类名 | string | - | |
| closable | 是否显示右上角的关闭按钮 | boolean | false | 4.9.0 |
| closable | 是否显示右上角的关闭按钮 | boolean | true | 4.9.0 |
| closeIcon | 自定义关闭图标 | ReactNode | undefined | 4.9.0 |
| content | 内容 | ReactNode | - | |
| footer | 底部内容,当不需要默认底部按钮时,可以设为 `footer: null` | (params:[footerRenderParams](/components/modal-cn#footerrenderparams))=> React.ReactNode \| React.ReactNode | - | 5.9.0 |