You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
39
+
// If you want to use the native module on other platforms, please remove this condition and test its behavior
40
+
Platform.OS!=='ios' ? null : NativeModalManager,
41
+
)
42
+
: null;
43
+
27
44
/**
28
45
* The Modal component is a simple way to present content above an enclosing view.
29
46
*
30
47
* See https://reactnative.dev/docs/modal
31
48
*/
32
49
50
+
// In order to route onDismiss callbacks, we need to uniquely identifier each
51
+
// <Modal> on screen. There can be different ones, either nested or as siblings.
52
+
// We cannot pass the onDismiss callback to native as the view will be
53
+
// destroyed before the callback is fired.
54
+
letuniqueModalIdentifier=0;
55
+
33
56
typeOrientationChangeEvent=$ReadOnly<{|
34
57
orientation: 'portrait'|'landscape',
35
58
|}>;
@@ -136,10 +159,6 @@ export type Props = $ReadOnly<{|
0 commit comments