Skip to content

Commit d049465

Browse files
committed
standardise mousewheel
1 parent 469f5b1 commit d049465

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ declare module 'react-idle-timer' {
5555
'mouseout' |
5656
'mouseup' |
5757
'mousewheel' |
58-
'mouseWheel' |
5958
'MSPointerDown' |
6059
'MSPointerMove' |
6160
'offline' |

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const DEFAULT_EVENTS = [
2424
'keydown',
2525
'wheel',
2626
'DOMMouseScroll',
27-
'mouseWheel',
27+
'mousewheel',
2828
'mousedown',
2929
'touchstart',
3030
'touchmove',

0 commit comments

Comments
 (0)