2018-08-09 04:34:26 +03:00
|
|
|
/**
|
2018-09-12 01:27:47 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-08-09 04:34:26 +03: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';
|
|
|
|
|
2019-05-08 18:44:25 +03:00
|
|
|
const ReactNative = require('../../Renderer/shims/ReactNative');
|
2018-08-09 04:34:26 +03:00
|
|
|
|
2019-05-08 18:44:25 +03:00
|
|
|
const requireNativeComponent = require('../../ReactNative/requireNativeComponent');
|
2018-08-09 04:34:26 +03:00
|
|
|
|
2019-05-08 18:44:25 +03:00
|
|
|
import type {ViewProps} from './ViewPropTypes';
|
2018-08-09 04:34:26 +03:00
|
|
|
|
|
|
|
type ViewNativeComponentType = Class<ReactNative.NativeComponent<ViewProps>>;
|
|
|
|
|
2018-08-25 00:01:57 +03:00
|
|
|
const NativeViewComponent = requireNativeComponent('RCTView');
|
2018-08-22 22:49:14 +03:00
|
|
|
|
|
|
|
module.exports = ((NativeViewComponent: any): ViewNativeComponentType);
|