@@ -71,8 +71,8 @@ npm start
7171| --- | --- | --- | --- |
7272| afterClose | 关闭动画结束后回调 | ` () => void ` | - |
7373| animation | 对话框动画名称 | string | - |
74- | className | 附加对话框className | string | - |
75- | classNames | 语义className | ` { header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string } ` | - |
74+ | className | 附加对话框 className | string | - |
75+ | classNames | 语义 className | ` { header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string } ` | - |
7676| closable | 是否显示关闭按钮,或关闭按钮属性 | boolean \| object | true |
7777| closeIcon | 自定义关闭图标 | ` React.ReactNode ` | - |
7878| destroyOnHidden | 对话框关闭后卸载子项 | boolean | false |
@@ -84,15 +84,15 @@ npm start
8484| mask | 是否显示面具 | boolean | true |
8585| maskAnimation | 蒙版动画名称 | string | - |
8686| maskClosable | 单击蒙版是否关闭对话框 | boolean | true |
87- | maskTransitionName | 掩码转换className称 | string | - |
87+ | maskTransitionName | 掩码过渡 className | string | - |
8888| modalRender | 自定义模态内容渲染器 | ` (node: React.ReactNode) => React.ReactNode ` | - |
8989| mousePosition | 用于变换原点的鼠标位置 | ` { x: number; y: number } ` | - |
90- | prefixCls | 组件className前缀 | string | ` rc-dialog ` |
90+ | prefixCls | 组件 className 前缀 | string | ` rc-dialog ` |
9191| scrollLock | 打开时是否锁定body滚动 | boolean | true |
9292| style | 根对话框样式 | ` React.CSSProperties ` | - |
9393| styles | Semantic styles | ` { header?: React.CSSProperties; body?: React.CSSProperties; footer?: React.CSSProperties; mask?: React.CSSProperties; content?: React.CSSProperties; wrapper?: React.CSSProperties } ` | - |
9494| title | Dialog title | ` React.ReactNode ` | - |
95- | transitionName | 对话框转换className | string | - |
95+ | transitionName | 对话框过渡 className | string | - |
9696| visible | 对话框是否可见 | boolean | false |
9797| zIndex | Dialog z-index | number | - |
9898| onClose | 点击关闭按钮或遮罩时的回调 | ` (event: React.SyntheticEvent) => void ` | - |
0 commit comments