Skip to content

Commit

Permalink
Fix typo in Image.android.js & Image.ios.js
Browse files Browse the repository at this point in the history
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 facebook#16777

Differential Revision: D6295564

Pulled By: shergin

fbshipit-source-id: eb6274701b6406f26b9eda1c35632cb2ce0392d7
  • Loading branch information
solon authored and cdlewis committed Nov 19, 2017
1 parent 4a6311f commit 74356b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Libraries/Image/Image.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Image/Image.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 74356b0

Please sign in to comment.