Skip to content

Commit

Permalink
[chore] Update description for onRequestClose.
Browse files Browse the repository at this point in the history
Reference to issue reactjs#489
  • Loading branch information
shivashp authored and diasbruno committed Sep 8, 2017
1 parent 67899f0 commit f007aeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import ReactModal from 'react-modal';
*/
onAfterOpen={handleAfterOpenFunc}
/*
Function that will be run when the modal is requested to be closed, prior to actually closing.
Function that will be run when the modal is requested to be closed (either by clicking on overlay or pressing ESC)
Note: It is not called if isOpen is changed by other means.
*/
onRequestClose={handleRequestCloseFunc}
/*
Expand Down

0 comments on commit f007aeb

Please sign in to comment.