You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -151,13 +151,12 @@ The following are all props that can be passed to the `<ParallaxBanner>` compone
151
151
152
152
The `layers` prop takes an array of objects that will represent each image (or custom children) of the parallax banner. The following properties describe a layer object:
|**amount**|`Number`|| A value from `-1` to `1` that represents the vertical offset to be applied to the current layer, `0.1` would equal a `10%` offset on the top and bottom. |
157
-
|**children**|`Element`|| Custom layer children provided as a React element, for example `<Video />`|
158
-
|**expanded**|`Boolean`|`true`| Indicate if the layer should be expanded with negative top/bottom margins so the edges will never be visible. |
159
-
|**image**|`String`|| Image source that will be applied as a CSS background image on the layer. |
160
-
|**slowerScrollRate**|`Number`|| Indicates whether the layer should move faster or slower than the default rate of scroll. |
|**amount**|`Number`|| A value from `-1` to `1` that represents the vertical offset to be applied to the current layer, `0.1` would equal a `10%` offset on the top and bottom. |
157
+
|**children**|`Element`|| Custom layer children provided as a React element, for example `<Video />`|
158
+
|**expanded**|`Boolean`|`true`| Indicate if the layer should be expanded with negative top/bottom margins so the edges will never be visible. |
159
+
|**image**|`String`|| Image source that will be applied as a CSS background image on the layer. |
0 commit comments