From bccf4be4cd64271c77859a974a3b2f125e45dcbe Mon Sep 17 00:00:00 2001 From: Pink Champagne <45930107+PinkChampagne17@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:33:28 +0800 Subject: [PATCH] docs: update prop name in README from `afterVisibleChange` to `afterOpenChange` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d25a785..64ffdfe 100755 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ ReactDom.render( | showMask | boolean | true | mask is show | | maskClosable | boolean | true | Clicking on the mask (area outside the Drawer) to close the Drawer or not. | | maskStyle | CSSProperties | null | mask style | -| afterVisibleChange | func | null | transition end callback(open) | +| afterOpenChange | func | null | transition end callback(open) | | onClose | func | null | close click function | | keyboard | boolean | true | Whether support press esc to close | | autoFocus | boolean | true | Whether focusing on the drawer after it opened |