UNPKG

@kanalabs/kana-widget-v2

Version:

Kana Widget for cross-chain bridging and swap.

45 lines (44 loc) 1.4 kB
import { NetworkId } from "@kanalabs/aggregator"; import { AptosWalletFilter, ChainType } from "types"; import { RefObject } from "react"; interface AptosRedeemWalletConnectVisibility { visibility: boolean; clickedFrom: string; } interface SourceInfo { chainId: NetworkId; chainName: string; chainImg: string; tokenSymbol: string; tokenImg: string; tokenAmount: string; tokenAddress: string; tokenBalance: number; tokenDollarPrice: number; } interface TargetInfo { chainId: NetworkId; chainName: string; chainImg: string; tokenSymbol: string; tokenImg: string; tokenAmount: string; tokenAddress: string; tokenBalance: number; tokenDollarPrice: number; } export interface AptosRedeemWalletConnectViewProps { isRoutesVisible: boolean; walletConnectVisibility: AptosRedeemWalletConnectVisibility; sourceInfo: SourceInfo; targetInfo: TargetInfo; aptosWallets: AptosWalletFilter[]; setAptosRedeemWalletConnectVisibility: React.Dispatch<React.SetStateAction<AptosRedeemWalletConnectVisibility>>; ref4: RefObject<HTMLElement | null>; ref9: RefObject<HTMLElement | null>; paymasterApikey: string; googleClientId: string; isChainType: ChainType; } declare const AptosRedeemWalletConnectView: React.FC<AptosRedeemWalletConnectViewProps>; export default AptosRedeemWalletConnectView;