File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments