UNPKG

react-native-cashfree-pg-sdk

Version:
13 lines (12 loc) 473 B
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;