Skip to content

Commit 45e07aa

Browse files
authored
Merge pull request #108 from kyeotic/enterDelay
set default enter delay to 0
2 parents 24680a3 + bc4ac9a commit 45e07aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type HoverProps = Pick<
1111
>;
1212

1313
export default function useHover({
14-
mouseEnterDelayMS = 200,
14+
mouseEnterDelayMS = 0,
1515
mouseLeaveDelayMS = 0
1616
}: UseHoverOptions = {}): [boolean, HoverProps] {
1717
const [isHovering, setIsHovering] = useState(false);

0 commit comments

Comments
 (0)