Commit 579f7390 authored by Orhan Sönmez's avatar Orhan Sönmez Committed by Sunhat

Update index.js

parent e38ab5e6
const React = require('react');
import { NativeModules: { ExtraDimensions }, Platform } from 'react-native';
import { NativeModules, Platform } from 'react-native';
if (Platform.OS === 'android') {
module.exports = {
get(dim) {
return ExtraDimensions[dim];
return NativeModules.ExtraDimensions[dim];
}
};
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment