mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9dfefa8da0
Summary: There may be assumptions that `Native*.js` contains TurboModule. In order to avoid introducing unplanned breaking changes (especially right before the holidays), roll this back for now. In doing so, I also realized that I forgot to migrate over `ScrollContentViewNativeComponent`. This does that, too. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D25129324 fbshipit-source-id: 343c4b800969dab91f7cd9f2bf253788c94d38e6
28 lines
775 B
JavaScript
28 lines
775 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';
|
|
|
|
import {type HostComponent} from '../../Renderer/shims/ReactNativeTypes';
|
|
import * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';
|
|
import {type ViewProps as Props} from '../View/ViewPropTypes';
|
|
|
|
const ScrollContentViewNativeComponent: HostComponent<Props> = NativeComponentRegistry.get<Props>(
|
|
'RCTScrollContentView',
|
|
() => ({
|
|
uiViewClassName: 'RCTScrollContentView',
|
|
bubblingEventTypes: {},
|
|
directEventTypes: {},
|
|
validAttributes: {},
|
|
}),
|
|
);
|
|
|
|
export default ScrollContentViewNativeComponent;
|