parallax-react-js
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -26,5 +26,5 @@ import React from 'react'; | ||
return (React.createElement("div", { style: { zIndex: props.zIndex ? props.zIndex : 0, transform: "translateY(0px)" }, className: "Parallax-Layer", ref: thisdiv }, | ||
React.createElement("div", null, props.children))); | ||
React.createElement("div", { style: { height: "100%" } }, props.children))); | ||
}; | ||
//export the ParallaxLayer component | ||
export default ParallaxLayer; |
{ | ||
"name": "parallax-react-js", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A libary for managing scroll speed of different components in react.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
14190