/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js
30 строк
935 B
Tim Yung
RN: Sort Pragmas in Headers (#51554)
23 май 2025, 07:18
23 май 2025, 07:18
1977dd6
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ import type {HostComponent} from '../../../src/private/types/HostComponent'; import type {PartialViewConfig} from '../../Renderer/shims/ReactNativeTypes'; import type {ViewProps as Props} from '../View/ViewPropTypes'; import * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry'; export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = { uiViewClassName: 'RCTScrollContentView', bubblingEventTypes: {}, directEventTypes: {}, validAttributes: {}, }; const ScrollContentViewNativeComponent: HostComponent<Props> = NativeComponentRegistry.get<Props>( 'RCTScrollContentView', () => __INTERNAL_VIEW_CONFIG, ); export default ScrollContentViewNativeComponent;