File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ npm start
7070| 参数 | 说明 | 类型 | 默认值 |
7171| --- | --- | --- | --- |
7272| afterClose | 关闭动画结束后回调 | ` () => void ` | - |
73- | 动画片 | 对话框动画名称 | string | - |
73+ | animation | 对话框动画名称 | string | - |
7474| className | 附加对话框className | string | - |
7575| classNames | 语义className | ` { header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string } ` | - |
7676| closable | 是否显示关闭按钮,或关闭按钮属性 | boolean \| object | true |
@@ -89,11 +89,11 @@ npm start
8989| mousePosition | 用于变换原点的鼠标位置 | ` { x: number; y: number } ` | - |
9090| prefixCls | 组件className前缀 | string | ` rc-dialog ` |
9191| scrollLock | 打开时是否锁定body滚动 | boolean | true |
92- | 风格 | 根对话框样式 | ` React.CSSProperties ` | - |
92+ | 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 ` | - |
9595| transitionName | 对话框转换className | string | - |
96- | 可见的 | 对话框是否可见 | boolean | false |
96+ | visible | 对话框是否可见 | boolean | false |
9797| zIndex | Dialog z-index | number | - |
9898| onClose | 点击关闭按钮或遮罩时的回调 | ` (event: React.SyntheticEvent) => void ` | - |
9999
You can’t perform that action at this time.
0 commit comments