Skip to content

Commit bd5dd39

Browse files
authored
Update README.md
1 parent 2ebfce8 commit bd5dd39

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# autoscroll-react
22

3-
Autoscroll a react component
4-
5-
[live demo](https://codesandbox.io/s/0315qvkx20)
6-
73
[![npm version](https://badge.fury.io/js/autoscroll-react.svg)](https://badge.fury.io/js/autoscroll-react)
84
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
95

@@ -13,6 +9,8 @@ Autoscroll a react component
139

1410
## What it does
1511

12+
[live demo](https://codesandbox.io/s/0315qvkx20)
13+
1614
This package exports a function that takes a `React.Component` <b>class</b> and returns a `React.PureComponent` that renders the passed component without any additional markup. It adds the following behaviours to the wrapped component:
1715

1816
- Whenever the list updates, it is scrolled to the bottom, unless the user has scrolled up.

0 commit comments

Comments
 (0)