sonner-native
Version:
An opinionated toast component for React Native. A port of @emilkowalski's sonner.
16 lines • 584 B
TypeScript
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: () => void;
};
export declare const ToastSwipeHandler: React.FC<React.PropsWithChildren<ToastSwipeHandlerProps>>;
export {};
//# sourceMappingURL=gestures.d.ts.map