UNPKG

react-native-ios-utilities

Version:

Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI

16 lines 642 B
import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; export type OnDidSetViewIDEventPayload = Readonly<{ viewID: string; reactTag: number; recycleCount: number; }>; export type OnDidSetViewIDEvent = BubblingEventHandler<OnDidSetViewIDEventPayload>; export type OnViewWillRecycleEventPayload = Readonly<{ recycleCount: number; }>; export type OnViewWillRecycleEvent = BubblingEventHandler<OnViewWillRecycleEventPayload>; export type SharedViewEvents = { onDidSetViewID?: OnDidSetViewIDEvent; onViewWillRecycle?: OnViewWillRecycleEvent; }; //# sourceMappingURL=SharedViewEvents.d.ts.map