UNPKG

react-ravepayment

Version:

This is a reactJS library for implementing rave payment gateway

13 lines (12 loc) 808 B
import React from 'react'; import { RaveProviderProps } from './types'; declare type PaymentChildren = (options: { initializePayment: Function; onClose: Function; onSuccess: Function; ref: any; }) => JSX.Element; declare const _default: React.ForwardRefExoticComponent<Pick<RaveProviderProps, "onClose" | "onSuccess" | "txref" | "customer_email" | "customer_phone" | "amount" | "PBFPubKey" | "pay_button_text" | "integrity_hash" | "currency" | "country" | "custom_title" | "custom_description" | "custom_logo" | "redirect_url" | "production" | "meta" | "customer_firstname" | "customer_lastname" | "payment_options" | "subaccounts" | "payment_plan" | "hosted_payment" | "campaign_id"> & { children: PaymentChildren; } & React.RefAttributes<unknown>>; export default _default;