@mysten/dapp-kit
Version:
A collection of React hooks and components for interacting with the Sui blockchain and wallets.
10 lines (9 loc) • 522 B
TypeScript
import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
import type { ButtonHTMLAttributes, ReactNode } from 'react';
type ConnectButtonProps = {
connectText?: ReactNode;
/** Filter the wallets shown in the connect modal */
walletFilter?: (wallet: WalletWithRequiredFeatures) => boolean;
} & ButtonHTMLAttributes<HTMLButtonElement>;
export declare function ConnectButton({ connectText, walletFilter, ...buttonProps }: ConnectButtonProps): import("react/jsx-runtime").JSX.Element;
export {};