@@ -105,7 +105,7 @@ Use the `layers` prop to indicate all images, offset amounts and scroll rates. O
105105 slowerScrollRate: false ,
106106 },
107107 {
108- image: ' https://foo.com/bar.jpg ' ,
108+ image: ' https://foo.com/bar.png ' ,
109109 amount: 0.2 ,
110110 slowerScrollRate: false ,
111111 },
@@ -122,12 +122,12 @@ Use the `layers` prop to indicate all images, offset amounts and scroll rates. O
122122
123123The following are all props that can be passed to the ` <ParallaxBanner> ` component:
124124
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. |
131131
132132### Layers Prop
133133
0 commit comments