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