This commit is contained in:
Hailey
2025-05-11 11:55:33 -07:00
parent f0a5722a6d
commit f962338cda
12 changed files with 508 additions and 3 deletions
@@ -0,0 +1,10 @@
import {
default as NativeScrollForwarderView,
NativeProps,
} from './ScrollForwarderViewNativeComponent'
export function ScrollForwarderView({children, ...rest}: NativeProps) {
return (
<NativeScrollForwarderView {...rest}>{children}</NativeScrollForwarderView>
)
}
@@ -0,0 +1,5 @@
import {NativeProps} from './ScrollForwarderViewNativeComponent'
export function ScrollForwarderView({children}: NativeProps) {
return children
}
@@ -0,0 +1,9 @@
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'
import type {ViewProps} from 'react-native'
import {Int32} from 'react-native/Libraries/Types/CodegenTypes'
export interface NativeProps extends ViewProps {
scrollViewTag?: Int32
}
export default codegenNativeComponent<NativeProps>('ScrollForwarderView')
@@ -0,0 +1,2 @@
export {ScrollForwarderView} from './ScrollForwarderView'
export * from './ScrollForwarderViewNativeComponent'