react-native-credit-cards
Version:
A customizable credit card form component for React Native with card flip animation and validation
26 lines (25 loc) • 653 B
TypeScript
import React from 'react';
import { ViewStyle } from 'react-native';
import { SharedValue } from 'react-native-reanimated';
import { CardType } from '../creditCard/props';
interface AnimatedLinearGradientProps {
cardType: CardType;
previousCardType?: CardType;
animationProgress: SharedValue<number>;
customColors?: {
start: string;
end: string;
};
start?: {
x: number;
y: number;
};
end?: {
x: number;
y: number;
};
style?: ViewStyle;
children?: React.ReactNode;
}
export declare const AnimatedLinearGradient: React.FC<AnimatedLinearGradientProps>;
export {};