Skip to content

Commit 9ca14f4

Browse files
committed
link to layers prop section in readme
1 parent a866a45 commit 9ca14f4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

123123
The 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

Comments
 (0)