Skip to content

Commit

Permalink
docs: change the default value 'closeable' (ant-design#47730)
Browse files Browse the repository at this point in the history
Change the default value of the attribute 'closeable' from true to false

Signed-off-by: yingjiechen <[email protected]>
  • Loading branch information
jj19100 authored Mar 7, 2024
1 parent 3d7a381 commit c2938c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit c2938c1

Please sign in to comment.