UNPKG

react-native-swipe-cards-stack

Version:

A highly customizable, performant swipeable cards stack component for React Native.

34 lines (33 loc) 945 B
import React from 'react'; import { Animated } from 'react-native'; import { SwipeIcons } from '../types'; interface SwipeIconsRendererProps { swipeIcons: SwipeIcons; iconOpacities: { tickOpacity: any; crossOpacity: any; upOpacity: any; downOpacity: any; leftOpacity: any; rightOpacity: any; }; _animatedValue: Animated.ValueXY; enabledDirections: { left: boolean; right: boolean; up: boolean; down: boolean; }; directIcons?: { leftSwipeIcon?: React.ReactNode; rightSwipeIcon?: React.ReactNode; upSwipeIcon?: React.ReactNode; downSwipeIcon?: React.ReactNode; leftSwipeIconStyle?: any; rightSwipeIconStyle?: any; upSwipeIconStyle?: any; downSwipeIconStyle?: any; }; } declare const _default: React.NamedExoticComponent<SwipeIconsRendererProps>; export default _default;