@react-native-menu/menu 1.0.2 → 1.0.3

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
@@ -67,6 +67,7 @@ const App = () => {
67
67
  actions={[
68
68
  {
69
69
  id: 'add',
70
+ title: 'Add',
70
71
  titleColor: '#2367A2',
71
72
  image: Platform.select({
72
73
  ios: 'plus',
@@ -144,7 +145,7 @@ The title of the menu.
144
145
 
145
146
  | Type | Required |
146
147
  | ------ | -------- |
147
- | string | No |
148
+ | string | Yes |
148
149
 
149
150
  ### `isAnchoredToRight` (Android only)
150
151
 
@@ -7,7 +7,7 @@
7
7
  #import "MenuView.h"
8
8
  #else
9
9
  // OLD ARCH
10
- #import <react_native_menu/react_native_menu-Swift.h>
10
+ #import <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.0.2",
3
+ "version": "1.0.3",
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.81",
51
+ "@react-native/metro-config": "0.74.83",
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",