{"_id":"@aleksei-golovanov/rn-context-menu","_rev":"8-f75d01315697db1cb102f05472ffabbb","name":"@aleksei-golovanov/rn-context-menu","description":"Context menu implementation for React Native","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.1","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.1","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"44ae9da8e17da31918121d228015847ae94db9df","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.1.tgz","fileCount":10,"integrity":"sha512-FhPgXS0P3g2IdPFwee7C0CmOsmNsXJZQHcTAi7v9v53HHBe2AOvweo7uNSu0r3ANijVeMX4COA9mG3j5BLPXRg==","signatures":[{"sig":"MEYCIQDOpkirdAll89B/TCX6KXyHGwaoN7LjyPiFdmXWcicEPgIhAIWTdiNQi/JEDmAiwqbAzgdY+zgkptS1PUBs3okuoCEp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8882},"main":"js/index.tsx","source":"js/index","gitHead":"b7381350ec1d5203e6706f9de2af04ff35a8bdd8","_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.1_1719341950684_0.680021560844408","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.2","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.2","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"22467311dd1c9ae8c0fe19d40d0ea7304d68e96a","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.2.tgz","fileCount":16,"integrity":"sha512-2aBiR2HI16RTEOb0s/nYQ/mHH69rx73TFeNq9CdHfkHW9C77D1o5iOoBWAfpQceZIKKZMzhJDUkqvK3br9j+Xg==","signatures":[{"sig":"MEYCIQCf1KsjCOOeFxp3VMMPLd0Z/DGXsDW5u23HQFd+4FZ+uAIhAOjgylTPkPfr7ptYPBBmc7lpKeURkpQODD6oHkxGtDMz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12921},"main":"js/dist/index","source":"js/index","gitHead":"5d6b6a4fa467f126fb6edcf930171af49069603d","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.2_1719346128650_0.5973420683181023","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.3","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.3","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"94ce8a7992e433eb95010b561278ed04029d962b","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.3.tgz","fileCount":16,"integrity":"sha512-goVBtEGOrO5P97eel1qbdXNGXw3GtrK0zHSQ454lgsanrmUyS3JyveBzg3yjwwzu65UxrJJZ+2Pc0t9ITlF8JQ==","signatures":[{"sig":"MEUCIAZvGjYmuSrNan/b2wOy14b3j5xf7a5lIdqje8pCTxKHAiEApcxG5Fnn62NhAobwLNSbtu+jymOBX1IdD7HmStpK3lI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12933},"main":"js/dist/index","source":"js/index","gitHead":"5d6b6a4fa467f126fb6edcf930171af49069603d","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.3_1719346472217_0.5042702463132018","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.4","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.4","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"dc7f68dac306f12a26e9337a027ad660a9b00399","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.4.tgz","fileCount":16,"integrity":"sha512-h4fbNfmmmg23hLfI8kUnWxnZ0tuoHDw3Fg6DP2+yl1pIESmRIqkr+Hi6T5YkF0z2RRqgM/yKggT4cIQCfOVnSw==","signatures":[{"sig":"MEQCIHMY+7P5dS665hOdNYODCLgN3EYo7AAX71U/yQEa0uqfAiA2DArG2NSWYimrSj3QnX8Pe8tAm7gO3DqrOqPjyPRmZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12946},"main":"js/dist/index","types":"dist/index","source":"js/index","gitHead":"5d6b6a4fa467f126fb6edcf930171af49069603d","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.4_1719347103992_0.19901234704275894","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.5","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.5","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"e3ea61943baa2fe5a3200582cd96ef1ee7702aac","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.5.tgz","fileCount":16,"integrity":"sha512-0603UY68Ihbeb+NV7zWrKhR0zZWj6Cxg7j5W19jqV/Kb0YuqZjvqX9i4Kkh4+FZNJfZQlxZyuBg1a8mFGRhqmA==","signatures":[{"sig":"MEYCIQCLoj04dXIvI6KQc7LC99w2DTs40Ctf1mU32nrqZ8acqgIhAMaV2XlFI0a55No1UbHTeLyfOKoHfDOFEufNUHx33Shp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12958},"main":"js/dist/index","types":"js/dist/index.ios.d.ts","source":"js/index","gitHead":"5d6b6a4fa467f126fb6edcf930171af49069603d","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.5_1719347947991_0.19156243859718614","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.6","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.6","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"aba93ef42692ae9782cc9408856293b47bd5427e","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.6.tgz","fileCount":16,"integrity":"sha512-Asa/01BQaSVVUEG4qxOTc/3OOBBspkrz5sug8Rgdb+rf4+FFmTj2bbpkNzWwQgL2Z3qPrIY5XqnvReklnwdRhw==","signatures":[{"sig":"MEQCIDx89ot4G5+w+zTea3x4tkprTb/JI/8oP6GZXeNCdjNSAiBqvpEfHhbOzIhGEToiBAku5KKAdVByvUfnEyO5AzvOJQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13077},"main":"js/dist/index","types":"js/dist/index.ios.d.ts","source":"js/index","gitHead":"8519067b6e3706b9e79027ddad891acf1b6d63c6","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.6_1719348760606_0.02800073110108281","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.7","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.7","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"b872a916eafc39e0dfce18b60d0066fd172f3040","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.7.tgz","fileCount":16,"integrity":"sha512-9v0McxDc1Jm7UrF6UdmXQtlolLNd/gaJ33uIM9zyzOPSjzP05fke3u9li0T23Lg8aJRw5Zjaz4dYxEAC7wj0rw==","signatures":[{"sig":"MEUCIQCt+53k3Is/INXl/upYgneJT2b3bFqciZOYULeDwyt5KwIgQh811D0jNNVJewUzTl2xqtLwYowYFAQoiESZeLoG3Z4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14636},"main":"js/dist/index","types":"js/dist/index.ios.d.ts","source":"js/index","gitHead":"8fadc8b0e726787541ce90344cb3b2e3e4e343f5","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.7_1719432819519_0.5926925434315977","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.0.8","keywords":["react-native","ios","context menu"],"author":{"url":"https://github.com/aleksey-golovanov","name":"Aleksei Golovanov"},"license":"MIT","_id":"@aleksei-golovanov/rn-context-menu@0.0.8","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"dist":{"shasum":"5218328c37359fe3d2cc510082a8096c985fd8ba","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.0.8.tgz","fileCount":16,"integrity":"sha512-GspRwS0eFLvcq6xpZk9DXPYjroXBjxGwoQsz6rL+ChJ96rUnhpcAlnsIK2Ck/ou3aA4OFRTllybiASrH9FNcAA==","signatures":[{"sig":"MEUCIQD4KFO944kg/T4kmnMdThHez3k5jgGDUhf0HDRdL+4N2AIgBaJV5KGyMN5cUNekMrcVi8JjVHlPGBFFJN5yxKFsDPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15624},"main":"js/dist/index","types":"js/dist/index.ios.d.ts","source":"js/index","gitHead":"a946376a4966174d31392b407660411218f30cd2","scripts":{"build":"tsc"},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"repository":{"url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git","type":"git"},"_npmVersion":"10.2.3","description":"Context menu implementation for React Native","directories":{},"_nodeVersion":"20.10.0","react-native":"js/index","codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"_npmOperationalInternal":{"tmp":"tmp/rn-context-menu_0.0.8_1719506851428_0.12239774195425213","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@aleksei-golovanov/rn-context-menu","version":"0.1.1","description":"Context menu implementation for React Native","author":{"name":"Aleksei Golovanov","url":"https://github.com/aleksey-golovanov"},"license":"MIT","react-native":"js/index","source":"js/index","main":"js/index","types":"js/index","keywords":["react-native","ios","context menu"],"repository":{"type":"git","url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git"},"bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","devDependencies":{"@types/react":"^18.3.3","@types/tape":"^5.6.4","tap-spec":"^5.0.0","tape":"^5.8.1","ts-node":"^10.9.2","typescript":"^5.5.2"},"peerDependencies":{"react":"^18.3.1","react-native":"^0.74.2"},"codegenConfig":{"name":"RNContextMenuSpecs","type":"components","jsSrcsDir":"js"},"scripts":{"build":"tsc --declaration","test":"find js/__tests__ -name '*.spec.ts' -print0 | xargs -0 tape -r ts-node/register | tap-spec"},"_id":"@aleksei-golovanov/rn-context-menu@0.1.1","gitHead":"aa0958dc51c611fcdd5e4eb258da1e817824fd2c","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-P/ryfhf6s+qmq5t+ioiEf97ct8YzNKKP6CCC6nHCnDbwNEA5FIKReCzj8gaLfpKF7EUNk/6pou6j1u/Os+S6EQ==","shasum":"64f541bff6d644a3b1ce6264dc918bff960fa1b1","tarball":"https://registry.npmjs.org/@aleksei-golovanov/rn-context-menu/-/rn-context-menu-0.1.1.tgz","fileCount":13,"unpackedSize":15938,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQsjfLg/OVWPl+Cxi/tbtEWx0xI2N6cjLquG0vPpm6CgIgI7NC+/9fuvfglBOfjKFoS7YAegvjDNVs/9Zm6ToiVWo="}]},"_npmUser":{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rn-context-menu_0.1.1_1719753420906_0.5832612809176443"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-25T18:59:10.574Z","modified":"2024-06-30T13:17:01.305Z","0.0.1":"2024-06-25T18:59:10.896Z","0.0.2":"2024-06-25T20:08:48.813Z","0.0.3":"2024-06-25T20:14:32.380Z","0.0.4":"2024-06-25T20:25:04.191Z","0.0.5":"2024-06-25T20:39:08.154Z","0.0.6":"2024-06-25T20:52:40.770Z","0.0.7":"2024-06-26T20:13:39.700Z","0.0.8":"2024-06-27T16:47:31.610Z","0.1.1":"2024-06-30T13:17:01.127Z"},"maintainers":[{"name":"aleksei-golovanov","email":"agolovanov.7p@gmail.com"}],"author":{"name":"Aleksei Golovanov","url":"https://github.com/aleksey-golovanov"},"repository":{"type":"git","url":"git+https://github.com/aleksey-golovanov/rn-context-menu.git"},"keywords":["react-native","ios","context menu"],"license":"MIT","homepage":"https://github.com/aleksey-golovanov/rn-context-menu#readme","bugs":{"url":"https://github.com/aleksey-golovanov/rn-context-menu/issues"},"readme":"# iOS Context Menu for React Native\n\nFabric Native Component wrapper for iOS [`UIContextMenuInteraction`](https://developer.apple.com/documentation/uikit/uicontextmenuinteraction). Currently does nothing on Android.\n\n<img src=\"./assets/recording.gif\" width=\"250\">\n\n## Installation\n\n```bash\nnpm i @aleksei-golovanov/rn-context-menu\ncd ios/\nRCT_NEW_ARCH_ENABLED=1 bundle exec pod install\n```\n\n## Usage\n\n```javascript\nimport React from \"react\";\nimport { Image, SafeAreaView, StyleSheet, Text, View } from \"react-native\";\n\nimport {\n  ContextMenu,\n  Menu,\n  MenuAction,\n  SubMenu,\n} from \"@aleksei-golovanov/rn-context-menu\";\n\nconst actions: MenuAction[] = [\n  {\n    title: \"share\",\n    onPress: () => console.log(\"shared\"),\n    iosSystemImageName: \"square.and.arrow.up\",\n  },\n  {\n    title: \"like\",\n    onPress: () => console.log(\"liked\"),\n    iosSystemImageName: \"hand.thumbsup\",\n  },\n  {\n    title: \"dislike\",\n    onPress: () => console.log(\"disliked\"),\n    iosSystemImageName: \"hand.thumbsdown\",\n    disabled: true,\n  },\n  {\n    title: \"delete\",\n    onPress: () => console.log(\"deleted\"),\n    iosSystemImageName: \"trash\",\n    destructive: true,\n  },\n];\n\nconst submenu: SubMenu = {\n  displayInline: true,\n  children: [{ title: \"edit\", iosSystemImageName: \"pencil\" }],\n};\n\nconst menu: Menu = {\n  title: \"Select what to do\",\n  children: [...actions, submenu],\n};\n\nconst DogCard = () => (\n  <View style={styles.container}>\n    <Image source={require(\"./dog.jpg\")} style={styles.image} />\n    <Text style={styles.title}>DOG</Text>\n  </View>\n);\n\nfunction App(): React.JSX.Element {\n  return (\n    <SafeAreaView>\n      <ContextMenu menu={menu} style={styles.view}>\n        <DogCard />\n      </ContextMenu>\n      <ContextMenu menu={menu} style={styles.view} preview={<DogCard />}>\n        <Text style={styles.text}>CUSTOM PREVIEW</Text>\n      </ContextMenu>\n    </SafeAreaView>\n  );\n}\n```\n\n## Props\n\n#### `title?: string`\n\nThe title of the menu.\n\n#### `children: (MenuAction | SubMenu)[]`\n\nMenu actions or sub-menus\n\n#### MenuAction\n\n`title: string;` action title \\\n`onPress?: () => void;` action handler \\\n`iosSystemImageName?: string;` [iOS system image](https://developer.apple.com/sf-symbols/) (SF Symbol) \\\n`disabled?: boolean;` action is disabled \\\n`destructive?: boolean;` action is [desctructive](https://developer.apple.com/documentation/uikit/uimenuelementattributes/uimenuelementattributesdestructive)\n\n#### SubMenu\n\n`title?: string;` submenu title \\\n`iosSystemImageName?: string;` [iOS system image](https://developer.apple.com/sf-symbols/) (SF Symbol) \\\n`displayInline?: boolean;` an [option](https://developer.apple.com/documentation/uikit/uimenuoptions/uimenuoptionsdisplayinline) indicating the menu displays inline with its parent menu instead of displaying as a submenu. \\\n`children: (MenuAction | SubMenu)[]` submenu actions or sub-menus\n\n#### `preview?: ReactElement<ViewProps>`\n\nCustom preview component\n","readmeFilename":"README.md"}