Update Modal.js

Summary: Closes https://github.com/facebook/react-native/pull/9825

Differential Revision: D4010331

Pulled By: mmmulani

fbshipit-source-id: 81c0a07716d47429dae8f28d08c9b5b13d30bf26
This commit is contained in:
Evgrafov Denis 2016-10-12 21:09:24 -07:00 committed by Facebook Github Bot
parent a3868722f8
commit 924c9927d0
1 changed files with 2 additions and 3 deletions

View File

@ -35,9 +35,8 @@ const RCTModalHostView = requireNativeComponent('RCTModalHostView', null);
*
* class ModalExample extends Component {
*
* constructor(props) {
* super(props);
* this.state = {modalVisible: false};
* state = {
* modalVisible: false,
* }
*
* setModalVisible(visible) {