Permalink
Browse files

Fix typo in Image.android.js & Image.ios.js

Summary:
Fixing a typo.

N/A

[IOS] [MINOR] [Image] - Fixed a typo in an error message
[ANDROID] [MINOR] [Image] - Fixed a typo in an error message
Closes #16777

Differential Revision: D6295564

Pulled By: shergin

fbshipit-source-id: eb6274701b6406f26b9eda1c35632cb2ce0392d7
  • Loading branch information...
solon authored and facebook-github-bot committed Nov 10, 2017
1 parent a329e96 commit 58c3bc490143b8d7831a00289e2565f49f5389ef
Showing with 2 additions and 2 deletions.
  1. +1 −1 Libraries/Image/Image.android.js
  2. +1 −1 Libraries/Image/Image.ios.js
@@ -274,7 +274,7 @@ var Image = createReactClass({
}
if (this.props.children) {
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.');
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using absolute positioning.');
}
if (source && (source.uri || Array.isArray(source))) {
@@ -374,7 +374,7 @@ const Image = createReactClass({
}
if (this.props.children) {
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.');
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using absolute positioning.');
}
return (

0 comments on commit 58c3bc4

Please sign in to comment.