{"repo":"react-native-menu/menu","free":true,"listed":false,"github":"https://github.com/react-native-menu/menu","clone":"git clone https://github.com/react-native-menu/menu.git","description":"UIMenu Component for React Native","language":"Kotlin","stars":1233,"topics":["react-native","ios","uimenu","uiaction","hacktoberfest"],"license":"MIT","category":"mobile-apps","readme_excerpt":"@react-native-menu/menu ![Supports Android, iOS][support-badge]![Github Action Badge][gha-badge] ![npm][npm-badge] Android PopupMenu and iOS14+ UIMenu components for react-native. Falls back to ActionSheet for versions below iOS14. Android iOS 14+ iOS 13 -------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------- Installation via npm: via yarn: Linking The package is automatically linked when building the app. All you need to do is: Usage Declarative usage It's also possible to obtain the action is a more React-ish, declarative fashion. Refer to the react-to-imperative package, and see an example here. Reference Props ref (Android only) Ref to the menu component. Type Required ------ ---------- ref No title (iOS only) The title of the menu. Type Required -------- ---------- string Yes isAnchoredToRight (Android only) Boolean determining if menu should anchored to right or left corner of parent view. Type Required --------- ---------- boolean No shouldOpenOnLongPress Boolean determining if menu should open after long press or on normal press Type Required --------- ---------- boolean No actions Actions to be displayed in the menu. Type Required ------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-native-menu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-native-menu/menu/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}