UNPKG

zips-react-native-sdk-test

Version:

Lightweight ZIPS Payment Gateway SDK for React Native - Complete payment solution with ZApp wallet payments and Access Bank integration

18 lines (17 loc) 569 B
import { CardData } from '../types'; interface cardContextType { isLoading: boolean; error: null | string; data: any | null | undefined; cardInformation: CardData; setIsLoading: (isLoading: boolean) => void; setError: (error: string | null) => void; setData: (data: any) => void; setCardInformation: (cardInformation: CardData) => void; } interface CardProviderProps { children: React.ReactNode; } export declare const useCardContext: () => cardContextType; export declare const CardProvider: React.FC<CardProviderProps>; export {};