feat(dialog): ios destructive style from options (#8676)

This commit is contained in:
danielorihuela
2020-07-06 23:47:08 +02:00
committed by GitHub
parent a8bbd7c1e5
commit bb531ce710
2 changed files with 220 additions and 84 deletions

View File

@@ -171,6 +171,11 @@ export interface ActionOptions extends CancelableOptions {
* Gets or sets the list of available actions.
*/
actions?: Array<string>;
/**
* [iOS only] Gets or sets the indexes of destructive actions.
*/
destructiveActionsIndexes?: Array<number>;
}
/**