Skip to content

Commit

Permalink
fix: add onClose
Browse files Browse the repository at this point in the history
  • Loading branch information
huangteng02 committed Sep 2, 2020
1 parent 44a9ec4 commit 98d81ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ const Lightbox = (props) => {
routes.pop();
props.navigator.immediatelyResetRouteStack(routes);
}

props.onClose && props.onClose();
};

return (
Expand Down

0 comments on commit 98d81ae

Please sign in to comment.