@react-native-menu/menu 1.1.0 → 1.1.1

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.
package/README.md CHANGED
@@ -135,6 +135,10 @@ const App = () => {
135
135
  };
136
136
  ```
137
137
 
138
+ ### Declarative usage
139
+
140
+ It's also possible to obtain the `action` is a more React-ish, declarative fashion. Refer to the [`react-to-imperative`](https://github.com/vonovak/react-to-imperative?tab=readme-ov-file#why) package, and see an example [here](https://github.com/vonovak/react-navigation-header-buttons/blob/cca6ce6d04d3b106efe7aa62279101db33c7941b/example/src/screens/UsageNativeMenu.tsx#L62).
141
+
138
142
  ## Reference
139
143
 
140
144
  ### Props
@@ -7,7 +7,7 @@
7
7
  #import "MenuView.h"
8
8
  #else
9
9
  // OLD ARCH
10
- #import <react_native_menu-Swift.h>
10
+ #import <react_native_menu/react_native_menu-Swift.h>
11
11
  #endif
12
12
 
13
13
  @interface MenuViewManager : RCTViewManager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-menu/menu",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "UIMenu component for react-native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -48,7 +48,7 @@
48
48
  "@callstack/react-native-visionos": "^0.73.0",
49
49
  "@react-native/babel-preset": "^0.74.79",
50
50
  "@react-native/eslint-config": "^0.74.0",
51
- "@react-native/metro-config": "0.74.83",
51
+ "@react-native/metro-config": "0.74.84",
52
52
  "@release-it/conventional-changelog": "^8.0.1",
53
53
  "@rnx-kit/metro-config": "^1.3.15",
54
54
  "@types/jest": "^29.1.2",