droplinked-payment-hub
Version:
A unified payment component that handles different payment providers
16 lines (15 loc) • 423 B
TypeScript
import { default as React } from 'react';
import { CommonStyle } from '../../types';
interface Web3PaymentProps {
orderId: string;
type: string;
shopId: string;
commonStyle: CommonStyle;
onSuccess?: () => void;
onError?: (error: unknown) => void;
onCancel?: () => void;
isTestnet?: boolean;
return_url?: string;
}
export declare const Web3Payment: React.FC<Web3PaymentProps>;
export {};