UNPKG
@siamf/context-menu
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
React hook for displaying configure able context menu
github.com/siamahnaf/upload
siamahnaf/upload
@siamf/context-menu
/
dist
/
cjs
/
utils
/
isEventType.d.ts
4 lines
(3 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
import { KeyboardEvent, MouseEvent, UIEvent }
from
"react"
;
export declare function
isKeyboardEvent
(
event
: UIEvent
):
event
is
KeyboardEvent
;
export declare function
isMouseEvent
(
event
: UIEvent
):
event
is
MouseEvent
;