From 7a26fec7243945d98a709fee47a5ffda5eefded1 Mon Sep 17 00:00:00 2001 From: sagarlava Date: Tue, 8 Jul 2025 10:05:06 +0545 Subject: [PATCH] Update PagerViewNativeComponent.ts Error: Received invalid event property type StringEnumTypeAnnotation at /Users/sagar/Projects/React/custella-machine-specialist-mobile/node_modules/react-native/node_modules/@react-native/codegen/lib/generators/components/GenerateEventEmitterCpp.js:308:17 on React Native 0.80.1 --- src/PagerViewNativeComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PagerViewNativeComponent.ts b/src/PagerViewNativeComponent.ts index 19d935ec..7bfb4ef3 100644 --- a/src/PagerViewNativeComponent.ts +++ b/src/PagerViewNativeComponent.ts @@ -20,7 +20,7 @@ export type OnPageSelectedEventData = Readonly<{ }>; export type OnPageScrollStateChangedEventData = Readonly<{ - pageScrollState: 'idle' | 'dragging' | 'settling'; + pageScrollState: string; //'idle' | 'dragging' | 'settling'; }>; export interface NativeProps extends ViewProps {