fix refreshing

This commit is contained in:
Hailey
2025-05-12 15:21:07 -07:00
parent 6ab0ca2bf6
commit 349096acd0
5 changed files with 85 additions and 25 deletions
@@ -1,4 +1,4 @@
import {type ViewProps} from 'react-native'
import {type ViewProps} from 'react-native'
import {
type BubblingEventHandler,
type Int32,
@@ -8,9 +8,9 @@ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNati
type OnRefreshEvent = {}
export interface NativeProps extends ViewProps {
scrollViewTag?: Int32
onRefresh?: BubblingEventHandler<OnRefreshEvent>
scrollViewTag: Int32 | null
refreshing?: boolean
onRefresh?: BubblingEventHandler<OnRefreshEvent>
}
export default codegenNativeComponent<NativeProps>('ScrollForwarderView')