From 1ee64ccb8a257210be3a74fb9b0adc83f2a8bb2b Mon Sep 17 00:00:00 2001 From: Patrick Kempff Date: Mon, 6 Nov 2017 10:20:17 -0800 Subject: [PATCH] Add tintColor to ActionSheetIOS documentation Summary: This pr adds documentation for the tintColor addition of #4590 The tintColor was missing from the documentation but works perfectly fine. Added a tintColor to showActionSheetWithOptions and showShareActionSheetWithOptions in the app i am building right now. [DOCS][MINOR][ActionSheetIOS] - Added documentation for tintColor in ActionSheet. Closes https://github.com/facebook/react-native/pull/16679 Differential Revision: D6248070 Pulled By: shergin fbshipit-source-id: a2276f50b42ff2c5858008f3641c9607f248744a --- Libraries/ActionSheetIOS/ActionSheetIOS.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/ActionSheetIOS/ActionSheetIOS.js b/Libraries/ActionSheetIOS/ActionSheetIOS.js index 8c3dbe55a..d38ccf990 100644 --- a/Libraries/ActionSheetIOS/ActionSheetIOS.js +++ b/Libraries/ActionSheetIOS/ActionSheetIOS.js @@ -26,6 +26,7 @@ var ActionSheetIOS = { * - `destructiveButtonIndex` (int) - index of destructive button in `options` * - `title` (string) - a title to show above the action sheet * - `message` (string) - a message to show below the title + * - `tintColor` (color) - tint color of the buttons * * The 'callback' function takes one parameter, the zero-based index * of the selected item. @@ -68,6 +69,7 @@ var ActionSheetIOS = { * - `message` (string) - a message to share * - `subject` (string) - a subject for the message * - `excludedActivityTypes` (array) - the activities to exclude from the ActionSheet + * - `tintColor` (color) - tint color of the buttons * * NOTE: if `url` points to a local file, or is a base64-encoded * uri, the file it points to will be loaded and shared directly.