Skip to content

Commit f8cee5b

Browse files
committed
Add missing prop type in WindowScroller docs
1 parent 301842a commit f8cee5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/WindowScroller.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This may change with a future release but for the time being this HOC is should
1313
| children | Function || Function responsible for rendering children. This function should implement the following signature: `({ height: number, isScrolling: boolean, scrollTop: number }) => PropTypes.element` |
1414
| onResize | Function | | Callback to be invoked on-resize; it is passed the following named parameters: `({ height: number })`. |
1515
| 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. |
1617

1718
### Public Methods
1819

0 commit comments

Comments
 (0)