Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nihgwu authored Nov 1, 2016
1 parent cdd2d79 commit 25594d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Libraries/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ class Modal extends React.Component {
*/
visible: PropTypes.bool,
/**
* The `onRequestClose` prop allows passing a function that will be called once the modal has been dismissed.
*
* _On the Android platform, this is a required function._
* The `onRequestClose` callback is called when the user taps the hardware back button.
* @platform android
*/
onRequestClose: Platform.OS === 'android' ? PropTypes.func.isRequired : PropTypes.func,
/**
Expand Down

0 comments on commit 25594d7

Please sign in to comment.