react-on-sticky
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "react-on-sticky", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A React implementation for position:sticky events", | ||
@@ -5,0 +5,0 @@ "author": "@ezekielaquino", |
@@ -100,3 +100,9 @@ # react-on-sticky | ||
}}> | ||
<StickyContainer> | ||
<StickyContainer | ||
component="div" // string or a e.g. StyledComponent | ||
headerHeight="100px" | ||
headerPosition="0px" // from top | ||
footerHeight="2rem" | ||
footerPosition="4rem" // from bottom | ||
> | ||
</StickyContainer> | ||
@@ -103,0 +109,0 @@ </div> |
26000
134