UNPKG
ahooks-v2
Version:
latest (2.10.15)
2.10.15
2.10.13
react hooks library
github.com/alibaba/hooks
alibaba/hooks
ahooks-v2
/
lib
/
useHover
/
index.d.ts
8 lines
(7 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
BasicTarget
}
from
'../utils/dom'
;
export
interface
Options
{
onEnter
?:
() =>
void
;
onLeave
?:
() =>
void
; }
declare
const
_default
:
(
target
:
BasicTarget
,
options
?:
Options
|
undefined
) =>
boolean
;
export
default
_default;