@react-native/popup-menu-android 0.84.0-rc.0 → 0.85.0-nightly-20260108-1236b6be4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,12 +20,12 @@ import * as React from 'react';
|
|
|
20
20
|
import {useCallback, useImperativeHandle, useRef} from 'react';
|
|
21
21
|
|
|
22
22
|
type PopupMenuSelectionEvent = NativeSyntheticEvent<
|
|
23
|
-
|
|
23
|
+
Readonly<{
|
|
24
24
|
item: number,
|
|
25
25
|
}>,
|
|
26
26
|
>;
|
|
27
27
|
|
|
28
|
-
type PopupMenuDismissEvent = NativeSyntheticEvent
|
|
28
|
+
type PopupMenuDismissEvent = NativeSyntheticEvent<Readonly<{}>>;
|
|
29
29
|
|
|
30
30
|
export type PopupMenuAndroidInstance = {
|
|
31
31
|
+show: () => void,
|
|
@@ -19,13 +19,13 @@ import * as React from 'react';
|
|
|
19
19
|
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
20
20
|
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
21
21
|
|
|
22
|
-
type PopupMenuSelectionEvent =
|
|
22
|
+
type PopupMenuSelectionEvent = Readonly<{
|
|
23
23
|
item: Int32,
|
|
24
24
|
}>;
|
|
25
25
|
|
|
26
|
-
type PopupMenuDismissEvent =
|
|
26
|
+
type PopupMenuDismissEvent = Readonly<{}>;
|
|
27
27
|
|
|
28
|
-
type NativeProps =
|
|
28
|
+
type NativeProps = Readonly<{
|
|
29
29
|
...ViewProps,
|
|
30
30
|
|
|
31
31
|
//Props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/popup-menu-android",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.85.0-nightly-20260108-1236b6be4",
|
|
4
4
|
"description": "PopupMenu for the Android platform",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@react-native/codegen": "0.
|
|
24
|
+
"@react-native/codegen": "0.85.0-nightly-20260108-1236b6be4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@types/react": "^19.1.0",
|