Skip to content

Commit de05cbc

Browse files
authored
Update README.md
1 parent b5e1473 commit de05cbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ export default Autoscroll(MyList)
3333

3434
You must Explicitly pass down props in the wrapped component.
3535

36-
`Autoscroll` returns the passed component without any additional markup. It attaches a signle event listener.
37-
It scrolls the component to the bottom whenever it updates, except if the user has scrolled up.
36+
##API
37+
`Autoscroll` returns the passed component without any additional markup.
38+
It scrolls the root node rendered by the component to the bottom whenever it updates, but not if the user has scrolled up.

0 commit comments

Comments
 (0)