react-native-cashfree-pg-sdk
Version:
Cashfree PG Plugin for React Native
13 lines (12 loc) • 473 B
TypeScript
import { TextInputProps } from 'react-native';
import { type CFSession, ElementCard } from 'cashfree-pg-api-contract';
export type CardPaymentHandle = {
doPayment: (cardInfo: ElementCard) => void;
doPaymentWithPaymentSessionId: (cardInfo: ElementCard, cfSession: CFSession) => void;
};
export type CardInputProps = {
cfSession: CFSession;
cardListener: (response: string) => void;
} & TextInputProps;
declare const CardInput: any;
export default CardInput;