mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
These mocks are things we expect to be available in the React Native environment. I'd like to move them out of the renderer folder so that we can sync that folder to React Native as is without overriding its mocks. I motivate by the fact that they're not really part of the renderer code itself. I leave the ReactNative mock since that is in fact part of the renderer.
20 lines
524 B
JavaScript
20 lines
524 B
JavaScript
/**
|
|
* Copyright 2013-2015, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var createReactNativeComponentClass = require('createReactNativeComponentClass');
|
|
|
|
var View = createReactNativeComponentClass({
|
|
validAttributes: {},
|
|
uiViewClassName: 'View',
|
|
});
|
|
|
|
module.exports = View;
|