UNPKG

sonner-native

Version:

An opinionated toast component for React Native. A port of @emilkowalski's sonner.

19 lines 635 B
import * as React from 'react'; import { type ViewStyle } from 'react-native'; import type { ToastPosition, ToastProps } from './types'; type ToastSwipeHandlerProps = Pick<ToastProps, 'important'> & { onRemove: () => void; style?: ViewStyle | (ViewStyle | undefined)[]; onBegin: () => void; onFinalize: () => void; enabled?: boolean; unstyled?: boolean; position?: ToastPosition; onPress: (args: { x: number; y: number; }) => void; }; export declare const ToastSwipeHandler: React.FC<React.PropsWithChildren<ToastSwipeHandlerProps>>; export {}; //# sourceMappingURL=gestures.d.ts.map