btc-wallet
Version:
BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.
24 lines (23 loc) • 846 B
TypeScript
import { type WalletSelectorModal as _WalletSelectorModal, type ModalOptions as _ModalOptions } from 'ref-modal-ui';
import type { WalletSelector } from '@near-wallet-selector/core';
import { ENV } from '../config';
export interface WalletSelectorModalOptions extends _ModalOptions {
showChainGroups?: boolean;
showWalletUIForNearAccount?: boolean;
walletUrl?: string;
env?: ENV;
draggable?: boolean;
initialPosition?: {
right: string;
bottom: string;
};
buttonSize?: string;
mobileButtonSize?: string;
}
export type WalletSelectorModal = _WalletSelectorModal;
declare global {
interface Window {
enableCustomWalletSelectorModal: boolean;
}
}
export declare function setupWalletSelectorModal(selector: WalletSelector, options: WalletSelectorModalOptions): _WalletSelectorModal;