UNPKG

react-use-wyre

Version:

🤑 React.js hooks for making payments using SendWyre. https://docs.sendwyre.com/

25 lines (24 loc) • 715 B
/// <reference types="react" /> import { AuthenticationType } from "../types"; export declare type SendWyreProps = { children: JSX.Element | JSX.Element[]; apiKey: string; secretKey: string; authenticationType: AuthenticationType; apiUrl: string; baseUrl: string; partnerId: string; }; declare const SendWyre: { ({ apiKey, secretKey, authenticationType, partnerId, apiUrl, baseUrl, children, ...extras }: SendWyreProps): JSX.Element; displayName: string; defaultProps: { apiKey: null; secretKey: null; authenticationType: AuthenticationType; partnerId: null; baseUrl: string; apiUrl: string; }; }; export default SendWyre;