Skip to content

Commit

Permalink
Update Modal.js
Browse files Browse the repository at this point in the history
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 91493f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Modal/Modal.js
Expand Up @@ -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.")}}
Expand Down

0 comments on commit 91493f6

Please sign in to comment.