Skip to content

Commit 006886e

Browse files
committed
update README
1 parent 5918ad6 commit 006886e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
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

0 commit comments

Comments
 (0)