@@ -105,7 +105,7 @@ Use the `layers` prop to indicate all images, offset amounts and scroll rates. O
105
105
slowerScrollRate: false ,
106
106
},
107
107
{
108
- image: ' https://foo.com/bar.jpg ' ,
108
+ image: ' https://foo.com/bar.png ' ,
109
109
amount: 0.2 ,
110
110
slowerScrollRate: false ,
111
111
},
@@ -122,12 +122,12 @@ Use the `layers` prop to indicate all images, offset amounts and scroll rates. O
122
122
123
123
The following are all props that can be passed to the ` <ParallaxBanner> ` component:
124
124
125
- | Name | Type | Default | Description |
126
- | ------------- | :-------: | :------ | ------------------------------------------------------------------------------------------------------------------------------ |
127
- | ** className** | ` String ` | | Optionally pass additional class names to be added to the outermost parallax banner element. |
128
- | ** disabled** | ` Boolean ` | ` false ` | Determines if the components internal parallax layers will have parallax offsets applied. |
129
- | ** layers** | ` Array ` | | A required ` Array ` of ` Objects ` with correct layer properties: ` [{ amount: 0.1, image: 'foo.jpg', slowerScrollRate: false }] ` . |
130
- | ** style** | ` Object ` | | Optionally pass a style object to be added to the outermost parallax banner element. |
125
+ | Name | Type | Default | Description |
126
+ | ------------- | :-------: | :------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
127
+ | ** className** | ` String ` | | Optionally pass additional class names to be added to the outermost parallax banner element. |
128
+ | ** disabled** | ` Boolean ` | ` false ` | Determines if the components internal parallax layers will have parallax offsets applied. |
129
+ | ** layers** | ` Array ` | | A required ` Array ` of ` Objects ` with correct layer properties: ` [{ amount: 0.1, image: 'foo.jpg', slowerScrollRate: false }] ` . [ See layers prop below ] ( #layers-prop ) |
130
+ | ** style** | ` Object ` | | Optionally pass a style object to be added to the outermost parallax banner element. |
131
131
132
132
### Layers Prop
133
133
0 commit comments