UNPKG

react-tap-payment

Version:

ReactJS library for implementing TAP payment gateway

13 lines (12 loc) 481 B
import React, { ReactNode } from 'react'; import { callback, TAPPaymentProps } from './types'; interface TAPPaymentButtonProps extends TAPPaymentProps { text?: string; className?: string; disabled?: boolean; children?: ReactNode; onSuccess?: callback; onClose?: callback; } declare const TAPPaymentButton: ({ text, className, children, onSuccess, onClose, disabled, ...config }: TAPPaymentButtonProps) => React.JSX.Element; export default TAPPaymentButton;