import { createContext } from 'react'; import type Animated from 'react-native-reanimated'; import type { CONTEXT_MENU_STATE } from '../constants'; import { MenuInternalProps } from '../components/menu/types'; export type InternalContextType = { state: Animated.SharedValue; theme: Animated.SharedValue<'light' | 'dark'>; menuProps: Animated.SharedValue; safeAreaInsets?: { top: number; right: number; bottom: number; left: number; }; }; // @ts-ignore export const InternalContext = createContext();