Permalink
Browse files

Add tintColor to ActionSheetIOS documentation

Summary:
This pr adds documentation for the tintColor addition of #4590

<!--
Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html

Happy contributing!

-->

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 #16679

Differential Revision: D6248070

Pulled By: shergin

fbshipit-source-id: a2276f50b42ff2c5858008f3641c9607f248744a
  • Loading branch information...
patrickkempff authored and facebook-github-bot committed Nov 6, 2017
1 parent fdf0495 commit 1ee64ccb8a257210be3a74fb9b0adc83f2a8bb2b
Showing with 2 additions and 0 deletions.
  1. +2 −0 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.

0 comments on commit 1ee64cc

Please sign in to comment.