UNPKG

react-native-cashfree-pg-sdk

Version:
13 lines (12 loc) 567 B
import { TextInputProps } from 'react-native'; import { type CFSubscriptionSession, ElementCard } from 'cashfree-pg-api-contract'; export type SubsCardPaymentHandle = { doSubscriptionPayment: (cardInfo: ElementCard) => void; doSubscriptionPaymentWithNewSession: (cardInfo: ElementCard, cfSubscriptionSession: CFSubscriptionSession) => void; }; export type SubsCardInputProps = { cfSubscriptionSession: CFSubscriptionSession; cardListener: (response: string) => void; } & TextInputProps; declare const SubsCardInput: any; export default SubsCardInput;