Skip to content

Commit d519e5a

Browse files
committed
Merge branch 'release/2.3.1'
2 parents 5918ad6 + de09073 commit d519e5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ The `layers` prop takes an array of objects that will represent each image (or c
147147
| **children** | `Element` | | Custom layer children provided as a React element, for example `<Video />` |
148148
| **expanded** | `Boolean` | `true` | Indicate if the layer should be expanded with negative top/bottom margins so the edges will never be visible. |
149149
| **image** | `String` | | Image source that will be applied as a CSS background image on the layer. |
150+
| **props** | `Object` | | Props to apply to the layer element. Example: `{ props: style: { background: 'red' }}` |
150151

151152
## \<ParallaxProvider>
152153

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scroll-parallax",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "React components to create parallax scroll effects for banners, images or any other DOM elements.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)