Skip to content

Commit

Permalink
doc(ParallaxImage): Add AnimatedImageComponent prop to ParallaxImage …
Browse files Browse the repository at this point in the history
…docs
  • Loading branch information
DanielMarkiel committed Oct 3, 2019
1 parent 71ea2b1 commit 21f1d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/PARALLAX_IMAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Prop | Description | Type | Default
`parallaxFactor` | Speed of the parallax effect. Be aware that the bigger the value, the more image will appear "zoomed in". | Number | `0.3`
`showSpinner` | Whether to display a spinner while image is loading or not | Boolean | `true`
`spinnerColor` | Color of the spinner | String | 'rgba(0, 0, 0, 0.4)'
`AnimatedImageComponent` | Custom animated image component | Function Object | `Animated.Image`

All [`<Image />` props](https://facebook.github.io/react-native/docs/image.html#props) are also inherited, **particularly `source` which is required**.

Expand Down

0 comments on commit 21f1d31

Please sign in to comment.