Skip to content

Commit 85bd5a4

Browse files
author
zmayor
committed
enhanced submenu typescript definition
1 parent d2ec76e commit 85bd5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare module "react-contextmenu" {
3131
}
3232

3333
interface SubMenuProps {
34-
title: React.ReactElement<any>,
34+
title: React.ReactElement<any> | React.ReactText,
3535
className?: string,
3636
disabled?: boolean,
3737
hoverDelay?: number,

0 commit comments

Comments
 (0)