UNPKG

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.

9 lines (8 loc) 447 B
import React, { AriaAttributes } from 'react'; import type { CSSProperties, ReactElement } from 'react'; export type NativeProps<S extends string = never> = { className?: string; style?: CSSProperties & Partial<Record<S, string>>; tabIndex?: number; } & AriaAttributes; export declare function withNativeProps<P extends NativeProps>(props: P, element: ReactElement): React.ReactElement<any, string | React.JSXElementConstructor<any>>;