Skip to content

Commit

Permalink
Update Image resizeMode=repeat docs (#106)
Browse files Browse the repository at this point in the history
* Update Image resizeMode=repeat docs for Android

To go along with facebook/react-native#17404

* Describe actual Image resizeMode=repeat behaviour

* Clarify Image resizeMode=repeat wording
  • Loading branch information
motiz88 authored and charpeni committed Apr 9, 2018
1 parent a686bf2 commit 0603c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Determines how to resize the image when the frame doesn't match the raw image di

* `stretch`: Scale width and height independently, This may change the aspect ratio of the src.

* `repeat`: Repeat the image to cover the frame of the view. The image will keep it's size and aspect ratio. (iOS only)
* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio, unless it is larger than the view, in which case it will be scaled down uniformly so that it is contained in the view.

* `center`: Center the image in the view along both dimensions. If the image is larger than the view, scale it down uniformly so that it is contained in the view.

Expand Down

0 comments on commit 0603c09

Please sign in to comment.