@@ -110,12 +110,10 @@ Use the `layers` prop to indicate all images, offset amounts, and scroll rates.
110110 {
111111 image: ' https://foo.com/foo.jpg' ,
112112 amount: 0.1 ,
113- slowerScrollRate: false ,
114113 },
115114 {
116115 image: ' https://foo.com/bar.png' ,
117116 amount: 0.2 ,
118- slowerScrollRate: false ,
119117 },
120118 ]}
121119 style= {{
@@ -130,12 +128,12 @@ Use the `layers` prop to indicate all images, offset amounts, and scroll rates.
130128
131129The following are all props that can be passed to the ` <ParallaxBanner> ` component:
132130
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. |
139137
140138### Banner Layers Prop
141139
0 commit comments