Peter W 1beb6274b8 Clarify ActionSheetIOSExample.js
Summary:
The `successCallback` passed via `static showShareActionSheetWithOptions(options, failureCallback, successCallback)` has two parameters (see [native code](e1577df1fd/Libraries/ActionSheetIOS/RCTActionSheetManager.m (L174))), and the name used for the first parameter in the JS example is confusing. This fixes that.

The first parameter is a boolean indicating whether the user completed the sharing (when TRUE) or cancelled it (when FALSE). Instead of calling it "success" in the example, I propose using `completed`, which is more in line with what you see in the native code.

Otherwise, we have a "successCallback" function whose first parameter tells us if we were "successful", and that's confusing (indeed, I think it already caused some confusion in the [react-native-share](https://github.com/EstebanFuentealba/react-native-share/) module: see [this issue](https://github.com/EstebanFuentealba/react-native-share/issues/48)).
Closes https://github.com/facebook/react-native/pull/11914

Differential Revision: D4490039

Pulled By: mkonicek

fbshipit-source-id: 5d7f01eae760e3fb271e7fa080c2f0147c53418a
2017-01-31 13:28:32 -08:00
..
2016-11-22 21:13:52 -08:00
2016-10-16 04:13:42 -07:00
2016-10-14 19:43:40 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 11:13:40 -07:00
2016-07-25 03:43:29 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 11:13:40 -07:00
2016-10-16 04:13:42 -07:00
2016-10-16 04:13:42 -07:00
2016-11-14 20:45:17 -08:00
2016-10-16 11:13:40 -07:00