2018-08-09 01:34:26 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-08-09 01:34:26 +00:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
* @flow
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const ReactNative = require('ReactNative');
|
|
|
|
|
|
|
|
const requireNativeComponent = require('requireNativeComponent');
|
|
|
|
|
|
|
|
import type {ViewProps} from 'ViewPropTypes';
|
|
|
|
|
|
|
|
type ViewNativeComponentType = Class<ReactNative.NativeComponent<ViewProps>>;
|
|
|
|
|
2018-08-24 21:01:57 +00:00
|
|
|
const NativeViewComponent = requireNativeComponent('RCTView');
|
2018-08-22 19:49:14 +00:00
|
|
|
|
|
|
|
module.exports = ((NativeViewComponent: any): ViewNativeComponentType);
|