import type { ReactNode } from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; export interface SwipeCallEndProps { onLeftSwipeEnd: () => void; onRightSwipeEnd: () => void; } export interface SwipeCallBackProps { onLeftSwipe: () => void; onRightSwipe: () => void; } export interface SimpleCardProps { style: StyleProp; renderCard: ({ onLeftSwipe, onRightSwipe, }: SwipeCallBackProps) => React.ReactElement; onLeftSwipeEnd: () => void; onRightSwipeEnd: () => void; cardStyle: StyleProp; } export interface SwipeableCardProps { children: ReactNode; style: StyleProp; cardStyle: StyleProp; }