diff --git a/src/components/menu/types.d.ts b/src/components/menu/types.d.ts index 8dbf319..debeb2f 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?: () => React.ReactNode; - onPress: () => void; + onPress?: () => void; isTitle?: boolean; isDestructive?: boolean; withSeperator?: boolean;