From d6ff5b7a261319cb434bb1f91c0919174ff312ae Mon Sep 17 00:00:00 2001 From: lukewalczak Date: Mon, 4 May 2020 18:02:08 +0200 Subject: [PATCH] Add new option to ActionSheetIOS called disabledButtonsIndices --- docs/actionsheetios.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/actionsheetios.md b/docs/actionsheetios.md index 45f0ce029a1..7ffb85c62fe 100644 --- a/docs/actionsheetios.md +++ b/docs/actionsheetios.md @@ -71,6 +71,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.