Skip to content

Commit a82e0d9

Browse files
authored
Update ContextMenuTriggerProps to allow custom props (#334)
1 parent 71625ec commit a82e0d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ declare module "react-contextmenu" {
2525
renderTag?: React.ElementType,
2626
mouseButton?: number,
2727
disableIfShiftIsPressed?: boolean,
28+
[key: string]: any
2829
}
2930

3031
export interface MenuItemProps {

0 commit comments

Comments
 (0)