pay-sdk-react
Version:
A cross-platform payment SDK for React, supporting Alipay, WeChat Pay, PayPal, Stripe, Payssion, and Airwallex, compatible with H5, PC, and App environments.
93 lines (74 loc) • 1.6 kB
JavaScript
import { PaymentMethod } from '../shared';
/**
* @zh PayPal 按钮基础属性
* @en Base props for PayPal button
*/
/**
* @zh Stripe 按钮基础属性
* @en Base props for Stripe button
*/
/**
* @zh Airwallex 按钮基础属性
* @en Base props for Airwallex button
*/
/**
* @zh Payssion 按钮基础属性
* @en Base props for Payssion button
*/
/**
* @zh MWeChat 按钮基础属性
* @en Base props for MWeChat button
*/
/**
* @zh MAlipay 按钮基础属性
* @en Base props for MAlipay button
*/
/**
* @zh Alipay 按钮基础属性
* @en Base props for Alipay button
*/
/**
* @zh Wechat 按钮基础属性
* @en Base props for Wechat button
*/
/**
* @zh PayPal 按钮完整属性
* @en Full props for PayPal button
*/
/**
* @zh Stripe 按钮完整属性
* @en Full props for Stripe button
*/
/**
* @zh Airwallex 按钮完整属性
* @en Full props for Airwallex button
*/
/**
* @zh Payssion 按钮完整属性
* @en Full props for Payssion button
*/
/**
* @zh MWeChat 按钮完整属性
* @en Full props for MWeChat button
*/
/**
* @zh MAlipay 按钮完整属性
* @en Full props for MAlipay button
*/
/**
* @zh MAlipay 按钮完整属性
* @en Full props for MAlipay button
*/
/**
* @zh Wechat 按钮完整属性
* @en Full props for Wechat button
*/
/**
* @zh 支付按钮属性联合类型,根据 payMethod 自动分发
* @en Union type for pay button props, auto-dispatch by payMethod
*/
// payMethod 到 ref 的映射
/**
* @zh 根据 payMethod 自动分发 ref 类型
* @en Auto-dispatch ref type by payMethod
*/