Skip to content

Commit

Permalink
Fix onScroll → onWheel typo in common-props (#6364)
Browse files Browse the repository at this point in the history
  • Loading branch information
insanj authored Oct 22, 2023
1 parent 16f90a9 commit a0cacd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react-dom/components/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ An event handler type for the `onWheel` event.

```js
<div
onScroll={e => console.log('onScroll')}
onWheel={e => console.log('onWheel')}
/>
```

Expand Down

0 comments on commit a0cacd7

Please sign in to comment.