Skip to content

Commit 9607d1b

Browse files
author
刘欢
committed
feat: change ts
1 parent 0a6a67d commit 9607d1b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ReactDOM.render(
7070
| keyboard | Boolean | true | whether support press esc to close | |
7171
| mousePosition | {x:number,y:number} | | set pageX and pageY of current mouse(it will cause transform origin to be set). | |
7272
| onClose | function() | | called when click close button or mask | |
73-
| ~~afterClose~~ | function() | | called when close animation end | |
73+
| afterClose | function() | | called when close animation end | |
7474
| getContainer | function(): HTMLElement | | to determine where Dialog will be mounted | |
7575
| destroyOnHidden | Boolean | false | to unmount child compenents on onClose | |
7676
| closeIcon | ReactNode | | specific the close icon. | |

src/IDialogPropTypes.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export type IDialogPropTypes = {
2020
rootStyle?: CSSProperties;
2121
mask?: boolean;
2222
children?: React.ReactNode;
23-
/** @description please use `closable.afterClose` instead */
2423
afterClose?: () => any;
2524
afterOpenChange?: (open: boolean) => void;
2625
onClose?: (e: SyntheticEvent) => any;

0 commit comments

Comments
 (0)