Last active
June 28, 2016 09:58
-
-
Save Obooman/1daf6ce3076b420e38c11b55b539e92c to your computer and use it in GitHub Desktop.
react native native modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var { Method } = require('react-native').NativeModules; | |
// ... | |
componentDidMount(){ | |
Method.run(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment