MCPcopy Index your code
hub / github.com/enesozturk/react-native-hold-menu

github.com/enesozturk/react-native-hold-menu @v0.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.6 ↗ · + Follow
73 symbols 226 edges 76 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

React Native Hold Menu

Reanimated v2 version npm npm runs with expo

A performant, easy to use hold to open context menu for React Native powered by Reanimated. 🔥

This package is experimental and still in progress. Using it in production is not preffered yet.


hold-menu-preview

Features

  • Powered with Reanimated v2. 🚀
  • Smooth interactions & animations.
  • Supports dark/light Mode. 🌚 🌝
  • Supports device orientation change.
  • Compatible with Expo.
  • Written in TypeScript.

Getting Started

Check out the documentation website.


Contributors

License

MIT

Show Your Support

Please give a star if you like this project! 🤩

Extension points exported contracts — how you extend this code

IAppContext (Interface)
(no doc)
example/src/context/internal.ts
Store (Interface)
(no doc)
src/components/provider/Provider.tsx
INavButton (Interface)
(no doc)
example/src/screens/Telegram/NavButton.tsx
HoldMenuProviderProps (Interface)
(no doc)
src/components/provider/types.d.ts
TelegramProps (Interface)
(no doc)
example/src/screens/Telegram/Telegram.tsx
ListItemCompProps (Interface)
(no doc)
example/src/screens/Home/ListItem.tsx
ListProps (Interface)
(no doc)
example/src/screens/Home/List.tsx

Core symbols most depended-on inside this repo

useAppContext
called by 8
example/src/hooks/useAppContext.ts
useInternal
called by 7
src/hooks/useInternal.ts
calculateMenuHeight
called by 3
src/utils/calculations.ts
calculateTransformValue
called by 2
src/components/holdItem/HoldItem.tsx
scaleBack
called by 2
src/components/holdItem/HoldItem.tsx
animateOpacity
called by 2
src/components/holdItem/HoldItem.tsx
getWindowOrientation
called by 2
src/hooks/useDeviceOrientation.ts
MessageStyles
called by 1
example/src/screens/Whatsapp/variables.ts

Shape

Function 62
Interface 9
Enum 2

Languages

TypeScript100%

Modules by API surface

src/components/holdItem/HoldItem.tsx12 symbols
src/utils/calculations.ts4 symbols
src/components/menu/MenuList.tsx4 symbols
example/src/screens/Telegram/Pages.tsx4 symbols
src/hooks/useDeviceOrientation.ts3 symbols
src/components/backdrop/Backdrop.tsx3 symbols
src/utils/validations.ts2 symbols
src/components/provider/reducer.ts2 symbols
src/components/provider/Provider.tsx2 symbols
src/components/menu/calculations.ts2 symbols
example/src/screens/Telegram/Telegram.tsx2 symbols
example/src/screens/Telegram/NavButton.tsx2 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add react-native-hold-menu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page