ReactNative.js 523 B

1234567891011121314151617181920212223
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. * @format
  8. * @flow
  9. */
  10. 'use strict';
  11. import type {ReactNativeType} from './ReactNativeTypes';
  12. let ReactNative;
  13. if (__DEV__) {
  14. ReactNative = require('../implementations/ReactNativeRenderer-dev');
  15. } else {
  16. ReactNative = require('../implementations/ReactNativeRenderer-prod');
  17. }
  18. module.exports = (ReactNative: ReactNativeType);