@@ -110,12 +110,10 @@ Use the `layers` prop to indicate all images, offset amounts, and scroll rates.
110
110
{
111
111
image: ' https://foo.com/foo.jpg' ,
112
112
amount: 0.1 ,
113
- slowerScrollRate: false ,
114
113
},
115
114
{
116
115
image: ' https://foo.com/bar.png' ,
117
116
amount: 0.2 ,
118
- slowerScrollRate: false ,
119
117
},
120
118
]}
121
119
style= {{
@@ -130,12 +128,12 @@ Use the `layers` prop to indicate all images, offset amounts, and scroll rates.
130
128
131
129
The following are all props that can be passed to the ` <ParallaxBanner> ` component:
132
130
133
- | Name | Type | Default | Description |
134
- | ------------- | :-------: | :------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
135
- | ** className** | ` String ` | | Optionally pass additional class names to be added to the outermost parallax banner element. |
136
- | ** disabled** | ` Boolean ` | ` false ` | Determines if the internal parallax layers will have offsets applied. |
137
- | ** layers** | ` Array ` | | A required ` Array ` of ` Objects ` with layer properties: ` [{ amount: 0.1, image: 'foo.jpg', slowerScrollRate: false }] ` . [ See layers prop below] ( #banner-layers-prop ) |
138
- | ** style** | ` Object ` | | Optionally pass a style object to be added to the outermost parallax banner element. |
131
+ | Name | Type | Default | Description |
132
+ | ------------- | :-------: | :------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
133
+ | ** className** | ` String ` | | Optionally pass additional class names to be added to the outermost parallax banner element. |
134
+ | ** disabled** | ` Boolean ` | ` false ` | Determines if the internal parallax layers will have offsets applied. |
135
+ | ** layers** | ` Array ` | | A required ` Array ` of ` Objects ` with layer properties: ` [{ amount: 0.1, image: 'foo.jpg' }] ` . [ See layers prop below] ( #banner-layers-prop ) |
136
+ | ** style** | ` Object ` | | Optionally pass a style object to be added to the outermost parallax banner element. |
139
137
140
138
### Banner Layers Prop
141
139
0 commit comments