diff --git a/src/components/menu/types.d.ts b/src/components/menu/types.d.ts index 34923ee..9ad9e6c 100644 --- a/src/components/menu/types.d.ts +++ b/src/components/menu/types.d.ts @@ -3,7 +3,7 @@ import { TransformOriginAnchorPosition } from '../../utils/calculations'; export type MenuItemProps = { text: string; icon?: string; - onPress?: (arg?: string | number) => void; + onPress?: (...args: any[]) => void; isTitle?: boolean; isDestructive?: boolean; withSeparator?: boolean;