Is there an option I can add to the below to get action sheet show from the bottom like we all knew and loved before this liquid-glass nightmare?
const handleShowOptions = useCallback(
(habitId: string, habitContent: string) => {
const options = ['Edit', 'Delete', 'Cancel'];
const destructiveButtonIndex = 1;
const cancelButtonIndex = 2;
showActionSheetWithOptions(
{
options,
cancelButtonIndex,
destructiveButtonIndex,
},
(selectedIndex?: number) => {
switch (selectedIndex) {
case 0:
break;
case destructiveButtonIndex:
handleDelete(habitId, habitContent);
break;
}
}
);
},
[showActionSheetWithOptions, handleDelete]
);