From 1ab78b46c2ea005d798a4b673fd9b9bf64c5c486 Mon Sep 17 00:00:00 2001 From: Luke Walczak Date: Tue, 29 Sep 2020 06:34:15 +0200 Subject: [PATCH] Add new option to ActionSheetIOS called disabledButtonsIndices (#1898) --- docs/actionsheetios.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/actionsheetios.md b/docs/actionsheetios.md index 7f982030807..6896d9204f7 100644 --- a/docs/actionsheetios.md +++ b/docs/actionsheetios.md @@ -73,6 +73,7 @@ Display an iOS action sheet. The `options` object must contain one or more of: - `message` (string) - a message to show below the title - `anchor` (number) - the node to which the action sheet should be anchored (used for iPad) - `tintColor` (string) - the [color](colors) used for non-destructive button titles +- `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled The 'callback' function takes one parameter, the zero-based index of the selected item.