UNPKG

@feexpay/react-sdk

Version:

SDK React officiel pour intégrer les paiements FeexPay dans vos applications React

13 lines (12 loc) 405 B
import { ReactNode } from 'react'; import { PaymentConfig } from '../types/index'; interface FeexPayContextType { paymentConfig: PaymentConfig; setPaymentConfig: (config: PaymentConfig) => void; } export declare const useFeexPay: () => FeexPayContextType; interface FeexPayProviderProps { children: ReactNode; } export declare const FeexPayProvider: React.FC<FeexPayProviderProps>; export {};