UNPKG

@enclavemoney/enclave-wallet-sdk

Version:

A simple enclave wallet SDK for React applications

36 lines (35 loc) 939 B
import React from "react"; import { SwapParams } from "../types/swap"; import { ThemeMode, CornerRadius, WalletConfig } from "../types/theme"; interface TransferParams { inputToken: { symbol?: string; name?: string; address: string; chainId: number; decimals?: number; balance?: string; logoURI?: string; chainIds?: { chainId: number; address: string; }[]; }; inputAmount?: string; recipient: string; } interface WalletModalProps { isOpen: boolean; onClose: () => void; walletSDKKey: string; swapParams?: SwapParams; transferParams?: TransferParams; showMessagePopup?: boolean; messageType?: "success" | "error"; transactionId?: string; theme?: ThemeMode; cornerRadius?: CornerRadius; config?: WalletConfig; } export declare const WalletModal: React.FC<WalletModalProps>; export {};