UNPKG

react-tap-payment

Version:

ReactJS library for implementing TAP payment gateway

10 lines (9 loc) 385 B
import React from 'react'; import { callback, TAPPaymentProps } from './types'; interface TAPPaymentProviderProps extends TAPPaymentProps { children: React.JSX.Element; onSuccess: callback; onClose: callback; } declare const TAPPaymentProvider: ({ children, onSuccess, onClose, ...config }: TAPPaymentProviderProps) => React.JSX.Element; export default TAPPaymentProvider;