UNPKG

@commercelayer/react-components

Version:
13 lines (12 loc) 434 B
import { type ReactNode, type JSX } from 'react'; export interface PaypalConfig { return_url: string; cancel_url: string; infoMessage?: { text?: string | ReactNode; className?: string; }; } type Props = Omit<PaypalConfig, 'return_url' | 'cancel_url'> & JSX.IntrinsicElements['div']; export declare function PaypalPayment({ infoMessage, ...p }: Props): JSX.Element | null; export default PaypalPayment;