Fix scroll forwarder export on web
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {type NativeProps} from './ScrollForwarderViewNativeComponent'
|
||||
import {type NativeProps} from './types'
|
||||
|
||||
export function ScrollForwarderView({children}: NativeProps) {
|
||||
return children
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export {ScrollForwarderView} from './ScrollForwarderView'
|
||||
export * from './ScrollForwarderViewNativeComponent'
|
||||
export type {NativeProps} from './types'
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import {type CodegenTypes, type ViewProps} from 'react-native'
|
||||
|
||||
type OnRefreshEvent = {}
|
||||
|
||||
export interface NativeProps extends ViewProps {
|
||||
scrollViewTag: CodegenTypes.Int32 | null
|
||||
refreshing?: boolean
|
||||
onRefresh?: CodegenTypes.BubblingEventHandler<OnRefreshEvent>
|
||||
}
|
||||
Reference in New Issue
Block a user