From 58c3bc490143b8d7831a00289e2565f49f5389ef Mon Sep 17 00:00:00 2001 From: Brian Solon Date: Thu, 9 Nov 2017 22:18:02 -0800 Subject: [PATCH] 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 https://github.com/facebook/react-native/pull/16777 Differential Revision: D6295564 Pulled By: shergin fbshipit-source-id: eb6274701b6406f26b9eda1c35632cb2ce0392d7 --- Libraries/Image/Image.android.js | 2 +- Libraries/Image/Image.ios.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Image/Image.android.js b/Libraries/Image/Image.android.js index b953d0855..d01697946 100644 --- a/Libraries/Image/Image.android.js +++ b/Libraries/Image/Image.android.js @@ -274,7 +274,7 @@ var Image = createReactClass({ } if (this.props.children) { - throw new Error('The component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.'); + throw new Error('The 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))) { diff --git a/Libraries/Image/Image.ios.js b/Libraries/Image/Image.ios.js index 6a5f82602..cc7aeec42 100644 --- a/Libraries/Image/Image.ios.js +++ b/Libraries/Image/Image.ios.js @@ -374,7 +374,7 @@ const Image = createReactClass({ } if (this.props.children) { - throw new Error('The component cannot contain children. If you want to render content on top of the image, consider using aboslute positioning.'); + throw new Error('The component cannot contain children. If you want to render content on top of the image, consider using absolute positioning.'); } return (