@enclavemoney/enclave-wallet-sdk
Version:
A simple enclave wallet SDK for React applications
31 lines (30 loc) • 1.05 kB
TypeScript
import React from "react";
import { Token } from "../TokenSelector";
declare function RecipientSearch({ recipient, setRecipient, handleBackFromRecipient, setStep, sendToUser, setSendToUser, setAddressToSend, walletSdkKey, selectedToken, }: {
recipient: string;
setRecipient: (recipient: string) => void;
handleBackFromRecipient: () => void;
setStep: (step: "recipient" | "amount") => void;
sendToUser: {
status: boolean;
username?: string;
walletAddress?: string;
solanaWalletAddress?: string;
ensName?: string;
sns?: string;
bitcoinWalletAddress?: string;
};
setSendToUser: (user: {
status: boolean;
username?: string;
walletAddress?: string;
solanaWalletAddress?: string;
ensName?: string;
sns?: string;
bitcoinWalletAddress?: string;
}) => void;
setAddressToSend: (address: string) => void;
walletSdkKey: string;
selectedToken: Token;
}): React.JSX.Element;
export default RecipientSearch;