Skip to content

Commit 48ad73b

Browse files
committed
remove more slowerScrollRate references
1 parent f58d29e commit 48ad73b

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

README.md

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

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

__tests__/ParallaxBanner.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ describe('Expect the <ParallaxBanner> component', () => {
1919
{
2020
image: 'https://foo.com/bar.jpg',
2121
amount: 0.2,
22-
slowerScrollRate: false,
2322
},
2423
]}
2524
style={{
@@ -51,7 +50,6 @@ describe('Expect the <ParallaxBanner> component', () => {
5150
{
5251
children: <div>test</div>,
5352
amount: 0.2,
54-
slowerScrollRate: false,
5553
},
5654
]}
5755
style={{
@@ -127,7 +125,6 @@ describe('Expect the <ParallaxBanner> component', () => {
127125
{
128126
children: <Child />,
129127
amount: 0.2,
130-
slowerScrollRate: false,
131128
},
132129
]}
133130
/>

0 commit comments

Comments
 (0)