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:
parent
a3868722f8
commit
924c9927d0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue