Skip to content

Commit 1ee64cc

Browse files
patrickkempfffacebook-github-bot
authored andcommitted
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
1 parent fdf0495 commit 1ee64cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/ActionSheetIOS/ActionSheetIOS.js

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var ActionSheetIOS = {
2626
* - `destructiveButtonIndex` (int) - index of destructive button in `options`
2727
* - `title` (string) - a title to show above the action sheet
2828
* - `message` (string) - a message to show below the title
29+
* - `tintColor` (color) - tint color of the buttons
2930
*
3031
* The 'callback' function takes one parameter, the zero-based index
3132
* of the selected item.
@@ -68,6 +69,7 @@ var ActionSheetIOS = {
6869
* - `message` (string) - a message to share
6970
* - `subject` (string) - a subject for the message
7071
* - `excludedActivityTypes` (array) - the activities to exclude from the ActionSheet
72+
* - `tintColor` (color) - tint color of the buttons
7173
*
7274
* NOTE: if `url` points to a local file, or is a base64-encoded
7375
* uri, the file it points to will be loaded and shared directly.

0 commit comments

Comments
 (0)