Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df386d1

Browse files
update README
1 parent ed7395c commit df386d1

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)

AltStyle によって変換されたページ (->オリジナル) /