react-native-ios-utilities
Version:
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
14 lines (10 loc) • 415 B
text/typescript
import type { BubblingEventHandler } from "react-native/Libraries/Types/CodegenTypes";
export type OnRawNativeEventEventPayload = Readonly<{
eventName: string;
eventPayload?: Record<string, unknown>;
shouldPropagate: boolean;
}>;
export type OnRawNativeEventEvent = BubblingEventHandler<OnRawNativeEventEventPayload>;
export type SharedViewEventsInternal = {
onRawNativeEvent?: OnRawNativeEventEvent;
};