SwipeConfirmation
SwipeConfirmations are BottomSheets used to add a confirmation to any action in your app that is invoked with a ButtonSwipe. This is useful for things like deleting items or taking some other destructive action.
Import
import { SwipeConfirmation } from '@nomada-sh/react-native-eyecandy';
Example
Props
BottomSheet Props
Inherits BottomSheet Props
Requiredtitle
Type |
---|
string |
swipeTitle
Type |
---|
string |
onConfirm
() => void;
Type |
---|
function |
style
Type |
---|
View Style |