Update Share.js. Fixed bad grammar

Summary:
Fix a typo in Share.js.
Closes https://github.com/facebook/react-native/pull/11033

Differential Revision: D4211724

Pulled By: ericvicenti

fbshipit-source-id: 6f0383568af474b21dfae5b208d21f6fd28ba7d4
This commit is contained in:
Martin Konicek 2016-11-23 11:28:02 -08:00 committed by Facebook Github Bot
parent df43cc7f6b
commit fc23101b43
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class Share {
static share(content: Content, options: Options = {}): Promise<Object> {
invariant(
typeof content === 'object' && content !== null,
'Content must a valid object'
'Content to share must be a valid object'
);
invariant(
typeof content.url === 'string' || typeof content.message === 'string',