File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ import MyList from './MyList'
43
43
export default ({ items, fetchMoreItems }) => < div>
44
44
< MyList
45
45
items= {items} /* pass props directly to your component */
46
- onScrolledTop= {e => fetchMoreItems ()} /* add props that are intercepted by autoscroll */
47
- onScroll = {e => console .log (' the list was scrolled' )} /* */
46
+ onScrolledTop= {e => fetchMoreItems ()} /* add props to be intercepted by autoscroll */
47
+ onScrolled = {e => console .log (' the list was scrolled' )}
48
48
/ >
49
49
{/* ... */ }
50
50
< / div>
@@ -62,7 +62,7 @@ export default ({ items, fetchMoreItems }) => <div>
62
62
63
63
Optional props:
64
64
65
- - ` onScroll ` : called whenever the list is scrolled. This is not an event listener.
65
+ - ` onScrolled ` : called whenever the list is scrolled. This is not an event listener.
66
66
- ` onScrolledTop ` : called when the list is scrolled to the top.
67
67
Pass these props when rendering the wrapped list component.
68
68
You can’t perform that action at this time.
0 commit comments