Merge pull request #11 from sibelius/feature/rn25

support >=RN25
This commit is contained in:
Eric Kreutzer 2016-06-06 16:25:17 -07:00
commit d056272ae7
1 changed files with 3 additions and 2 deletions

View File

@ -3,5 +3,6 @@
// Bridge to:
// Android: buildConfigField vars set in build.gradle, and exported via ReactConfig
// iOS: config vars set in xcconfig and exposed via ReactNativeConfig.m
var React = require('react-native');
module.exports = React.NativeModules.ReactNativeConfig;
import { NativeModules } from 'react-native';
export default NativeModules.ReactNativeConfig;