diff --git a/modules/react-native-scroll-forwarder/src/ScrollForwarderViewNativeComponent.ts b/modules/react-native-scroll-forwarder/src/ScrollForwarderViewNativeComponent.ts index 9c6348de32..48ac4f5be7 100644 --- a/modules/react-native-scroll-forwarder/src/ScrollForwarderViewNativeComponent.ts +++ b/modules/react-native-scroll-forwarder/src/ScrollForwarderViewNativeComponent.ts @@ -1,16 +1,15 @@ -import {type ViewProps} from 'react-native' import { - type BubblingEventHandler, - type Int32, -} from 'react-native/Libraries/Types/CodegenTypes' -import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent' + codegenNativeComponent, + type CodegenTypes, + type ViewProps, +} from 'react-native' type OnRefreshEvent = {} export interface NativeProps extends ViewProps { - scrollViewTag: Int32 | null + scrollViewTag: CodegenTypes.Int32 | null refreshing?: boolean - onRefresh?: BubblingEventHandler + onRefresh?: CodegenTypes.BubblingEventHandler } export default codegenNativeComponent('ScrollForwarderView')