parallax-react-js
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -25,3 +25,4 @@ import React from "react"; | ||
return ( //return children wrapped inside a div referenced by "thisContainer". Div is part of class "Parallex-Container" and has some simple style properties | ||
React.createElement("div", { className: "Parallax-Container", ref: thisContainer, style: { height: "100%", overflow: "auto", width: "100%" } }, props.children)); | ||
React.createElement("div", { className: "Parallax-Container-Outer", style: { width: "100%", height: "100vh", display: 'flex' } }, | ||
React.createElement("div", { className: "Parallax-Container", ref: thisContainer, style: { height: "100%", overflow: "auto", width: "100%" } }, props.children))); | ||
} | ||
@@ -28,0 +29,0 @@ //"onscroll" function that takes the ParallaxContainer, the setter function for "prevScroll" and "prevScroll" itself as arguments. |
{ | ||
"name": "parallax-react-js", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A libary for managing scroll speed of different components in react.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14222
96