Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuarkGluonPlasma/react-course-code
/ useHover.ts
File
useHover.ts
ahooks-hook/src/useHover.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ RefObject, useEffect, useState } from
'react'
;
2
3
export
interface
Options {
4
onEnter?: () => void;
Callers
nothing calls this directly
Calls
3
useState
Function · 0.90
useEffect
Function · 0.90
onChange
Function · 0.50
Tested by
no test coverage detected