Skip to content

Commit 99e2268

Browse files
hmelenokvkbansal
authored andcommitted
types: missing props from PropTypes (#310)
1 parent d4b77aa commit 99e2268

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ declare module "react-contextmenu" {
1010
onHide?: {(event: any): void},
1111
onMouseLeave?: {(event: React.MouseEvent<HTMLElement>, data: Object, target: HTMLElement): void} | Function,
1212
onShow?: {(event: any): void},
13+
preventHideOnContextMenu?: boolean,
14+
preventHideOnResize?: boolean,
15+
preventHideOnScroll?: boolean,
16+
style?: React.CSSProperties,
1317
}
1418

1519
export interface ContextMenuTriggerProps {

0 commit comments

Comments
 (0)