Permalink
Browse files

Update Modal.js

Summary:
you don't need curly bracket. `{}`

<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes #15198

Differential Revision: D5497867

Pulled By: javache

fbshipit-source-id: a09f06aabc6ea16f0b0eec12bf910ffcab804eb0
  • Loading branch information...
jooddang authored and facebook-github-bot committed Jul 26, 2017
1 parent d53d121 commit 91493f6b9d5013b4d49c9d6418af00603fde023f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/Modal/Modal.js
View
@@ -47,7 +47,7 @@ const RCTModalHostView = requireNativeComponent('RCTModalHostView', null);
* return (
* <View style={{marginTop: 22}}>
* <Modal
* animationType={"slide"}
* animationType="slide"
* transparent={false}
* visible={this.state.modalVisible}
* onRequestClose={() => {alert("Modal has been closed.")}}

0 comments on commit 91493f6

Please sign in to comment.