Skip to content

Commit 362b141

Browse files
committed
fix: take two
1 parent a0c1677 commit 362b141

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/overflowMenu/vendor/MenuItem.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export type Props = {
2727
/**
2828
* Function to execute on press.
2929
*/
30-
onPress?: (params?: GestureResponderEvent) => void;
30+
onPress?: (
31+
e?: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent
32+
) => void;
3133
/**
3234
* @optional
3335
*/

0 commit comments

Comments
 (0)