The cancelButtonIndex doesn't seem to be compatible with iOS 26.
using the onPress from the getting started in the read me
const onPress = () => {
const options = ['Delete', 'Save', 'Cancel'];
const destructiveButtonIndex = 0;
const cancelButtonIndex = 2;
showActionSheetWithOptions({
options,
cancelButtonIndex,
destructiveButtonIndex
}, (selectedIndex: number) => {
switch (selectedIndex) {
case 1:
// Save
break;
case destructiveButtonIndex:
// Delete
break;
case cancelButtonIndex:
// Canceled
}});
}
results in

The
cancelButtonIndexdoesn't seem to be compatible with iOS 26.using the
onPressfrom the getting started in the read meresults in