react-scroll
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "react-scroll", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A scroll component for React.js", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -53,2 +53,3 @@ ## React Scroll | ||
return ( | ||
<div> | ||
<Link activeClass="active" to="test1" spy={true} smooth={true} offset={50} duration={500} >Test 1</Link> | ||
@@ -64,2 +65,3 @@ <Button activeClass="active" className="btn" type="submit" value="Test 2" to="test2" spy={true} smooth={true} offset={50} duration={500} >Test 2</Button> | ||
</Element> | ||
</div> | ||
); | ||
@@ -145,1 +147,7 @@ } | ||
``` | ||
#### Things that needs to be done - feel free to contribute. | ||
- Being able to use react-scroll within a div. | ||
- Integrate react-scroll with react-router | ||
- Hash-scrolling. | ||
21583
151