Skip to content

Commit 58c3bc4

Browse files
solonfacebook-github-bot
authored andcommittedNov 10, 2017
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
1 parent a329e96 commit 58c3bc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎Libraries/Image/Image.android.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ var Image = createReactClass({
274274
}
275275

276276
if (this.props.children) {
277-
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.');
277+
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using absolute positioning.');
278278
}
279279

280280
if (source && (source.uri || Array.isArray(source))) {

‎Libraries/Image/Image.ios.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ const Image = createReactClass({
374374
}
375375

376376
if (this.props.children) {
377-
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.');
377+
throw new Error('The <Image> component cannot contain children. If you want to render content on top of the image, consider using absolute positioning.');
378378
}
379379

380380
return (

0 commit comments

Comments
 (0)
Please sign in to comment.