import { ReactNode } from 'react'; import { TextStyle, ViewStyle } from 'react-native'; export interface ContextMenuItem { id: string; title: string; icon?: ReactNode; onPress: () => void; badge?: number | string; badgeColor?: string; } export interface ContextMenuProps { /** Show/hide the menu */ visible: boolean; onClose: () => void; /** Menu items */ items: ContextMenuItem[]; /** Position relative to the parent or screen */ position?: { top?: number; left?: number; right?: number; bottom?: number; }; /** Menu appearance */ backgroundColor?: string; borderRadius?: number; /** Item text styling */ itemTextColor?: string; itemStyle?: ViewStyle; itemTextStyle?: TextStyle; /** Badge styling */ badgeStyle?: ViewStyle; badgeTextStyle?: TextStyle; /** Icon styling */ showIconBackground?: boolean; iconBackgroundColor?: string; iconBorderRadius?: number; /** Animation for showing/hiding the menu */ animation?: 'fade' | 'scale' | 'fade-scale' | 'none'; /** Optional shadow */ shadow?: boolean; } //# sourceMappingURL=ContextMenu.types.d.ts.map