You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/WindowScroller.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This may change with a future release but for the time being this HOC is should
13
13
| children | Function | ✓ | Function responsible for rendering children. This function should implement the following signature: `({ height: number, isScrolling: boolean, scrollTop: number }) => PropTypes.element`|
14
14
| onResize | Function || Callback to be invoked on-resize; it is passed the following named parameters: `({ height: number })`. |
15
15
| onScroll | Function || Callback to be invoked on-scroll; it is passed the following named parameters: `({ scrollTop: number })`. |
16
-
| scrollElement | any || Element to attach scroll event listeners. Defaults to window. |
16
+
| scrollElement | any || Element to attach scroll event listeners. Defaults to `window`. |
0 commit comments