mirror of
https://github.com/zhigang1992/react-native-hold-menu.git
synced 2026-06-15 18:38:03 +08:00
1.4 KiB
1.4 KiB
id, title, description, hide_title, slug, hide_table_of_contents
| id | title | description | hide_title | slug | hide_table_of_contents |
|---|---|---|---|---|---|
| getting-started | Getting Started | A performant, easy to use hold to open context menu for React Native powered by Reanimated. 🔥 | true | / | true |
React Native Hold Menu
A performant, easy to use hold to open context menu for React Native powered by Reanimated.
Features
- Powered with Reanimated v2 🚀
- Easy to use 😊
- Dark/Light Mode 🌚
- Device orientation change
- Written in
TypeScript.
Installation
This library currently written with Reanimated v2. If you use Reanimated v1 in your application, you may need waiting for next version of the Hold Menu. It is in my todo list.
yarn add react-native-hold-menu
Dependencies
This library needs these dependencies to be installed in your project before you can use it:
yarn add react-native-reanimated@2.0.0-rc.2 react-native-gesture-handler
:::info React Native Gesture Handler needs extra steps to finalize its installation, please follow their installation instructions.
React Native Reanimated v2 needs extra steps to finalize its installation, please follow their installation instructions. :::
Todo
- Support for Reanimated v1
- Support for Animated