Skip to content

Commit 98d81ae

Browse files
author
huangteng02
committed
fix: add onClose
1 parent 44a9ec4 commit 98d81ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lightbox.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ const Lightbox = (props) => {
9191
routes.pop();
9292
props.navigator.immediatelyResetRouteStack(routes);
9393
}
94+
95+
props.onClose && props.onClose();
9496
};
9597

9698
return (

0 commit comments

Comments
 (0)