| 1 | import type { MenuAction } from "@react-native-menu/menu"; |
| 2 | |
| 3 | export interface MaterialMenuPopupProps { |
| 4 | readonly menuWidth: number; |
| 5 | readonly anchor: { |
| 6 | readonly x: number; |
| 7 | readonly y: number; |
| 8 | readonly width: number; |
| 9 | readonly height: number; |
| 10 | }; |
| 11 | readonly actions: readonly MenuAction[]; |
| 12 | readonly title?: string; |
| 13 | readonly parent: MenuAction | null; |
| 14 | readonly onPress: (action: MenuAction) => void; |
| 15 | readonly onBack: () => void; |
| 16 | readonly onClose: () => void; |
| 17 | /** Keep the editor's window focus and keyboard while showing native menu rows. */ |
| 18 | readonly inline?: boolean; |
| 19 | } |
| 20 | |
| 21 | export function MaterialMenuPopup(_props: MaterialMenuPopupProps) { |
| 22 | return null; |
| 23 | } |