@quyvt.dev/react-native-native-menu 0.1.0 → 0.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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  Fabric-only native system menus for React Native. iOS uses UIKit `UIMenu`; Android intentionally leaves fallback UI to the consuming app.
4
4
 
5
+ ## Demo
6
+
7
+ <p align="center">
8
+ <img src="https://raw.githubusercontent.com/vtquy98/react-native-native-menu/main/docs/images/native-menu-demo.gif" width="320" alt="Native iOS menu opening and selecting actions" />
9
+ </p>
10
+
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/vtquy98/react-native-native-menu/main/docs/images/native-menu-idle.png" width="30%" alt="Custom React Native trigger" />
13
+ <img src="https://raw.githubusercontent.com/vtquy98/react-native-native-menu/main/docs/images/native-menu-open.png" width="30%" alt="Native iOS UIMenu with destructive and disabled actions" />
14
+ <img src="https://raw.githubusercontent.com/vtquy98/react-native-native-menu/main/docs/images/native-menu-selected.png" width="30%" alt="Immediate selected item callback" />
15
+ </p>
16
+
5
17
  ## Requirements
6
18
 
7
19
  - React Native with the New Architecture enabled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quyvt.dev/react-native-native-menu",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Native system menus for React Native using Fabric and UIKit UIMenu",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",