2016-11-04 05:40:26 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2017-10-04 10:06:57 -07:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-11-04 05:40:26 -07:00
|
|
|
*
|
|
|
|
* @providesModule ReactNative
|
|
|
|
* @flow
|
|
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
|
2017-05-26 10:51:06 -07:00
|
|
|
import type {ReactNativeType} from 'ReactNativeTypes';
|
|
|
|
|
|
|
|
let ReactNative;
|
|
|
|
|
|
|
|
if (__DEV__) {
|
2017-09-14 18:01:25 -07:00
|
|
|
ReactNative = require('ReactNativeFiber-dev');
|
2017-05-26 10:51:06 -07:00
|
|
|
} else {
|
2017-09-14 18:01:25 -07:00
|
|
|
ReactNative = require('ReactNativeFiber-prod');
|
2017-05-26 10:51:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = (ReactNative: ReactNativeType);
|