Skip to content

Instantly share code, notes, and snippets.

@Obooman
Last active June 28, 2016 09:58
Show Gist options
  • Save Obooman/1daf6ce3076b420e38c11b55b539e92c to your computer and use it in GitHub Desktop.
Save Obooman/1daf6ce3076b420e38c11b55b539e92c to your computer and use it in GitHub Desktop.
react native native modules
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