mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
77a6617a39
Summary: Rick manually created view config in JS for View; adding some missing attributes/events and using this instead of `requireNativeComponent` Reviewed By: rickhanlonii Differential Revision: D15488008 fbshipit-source-id: 48e925ec0ca2aeba9e6cc66edef0b70ee1c94d27
22 lines
523 B
JavaScript
22 lines
523 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* 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('../../Renderer/shims/ReactNative');
|
|
|
|
import type {ViewProps} from './ViewPropTypes';
|
|
|
|
type ViewNativeComponentType = Class<ReactNative.NativeComponent<ViewProps>>;
|
|
|
|
require('ReactNativeViewViewConfig');
|
|
|
|
module.exports = (('RCTView': any): ViewNativeComponentType);
|