react/packages/react-rt-renderer/index.js

15 lines
437 B
JavaScript

/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
var ReactNativeRT = require('./src/ReactNativeRT');
// TODO: decide on the top-level export form.
// This is hacky but makes it work with both Rollup and Jest.
module.exports = ReactNativeRT.default ? ReactNativeRT.default : ReactNativeRT;