forked from vkbansal/react-contextmenu
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
propTypes:
react-contextmenu/src/MenuItem.js
Lines 10 to 23 in 7b003e6
| static propTypes = { | |
| attributes: PropTypes.object, | |
| children: PropTypes.node, | |
| className: PropTypes.string, | |
| data: PropTypes.object, | |
| disabled: PropTypes.bool, | |
| divider: PropTypes.bool, | |
| onClick: PropTypes.func, | |
| onMouseLeave: PropTypes.func, | |
| onMouseMove: PropTypes.func, | |
| preventClose: PropTypes.bool, | |
| selected: PropTypes.bool, | |
| role: PropTypes.string | |
| }; |
MenuItemProps:
react-contextmenu/src/index.d.ts
Lines 33 to 42 in 7b003e6
| export interface MenuItemProps { | |
| attributes?: React.HTMLAttributes<HTMLDivElement>, | |
| className?: string; | |
| data?: Object, | |
| disabled?: boolean, | |
| divider?: boolean, | |
| preventClose?: boolean, | |
| onClick?: {(event: React.TouchEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement>, data: Object, target: HTMLElement): void} | Function, | |
| children?: React.ReactNode, | |
| } |
Metadata
Metadata
Assignees
Labels
No labels