UNPKG

@jim4565/dapp-wrapper-react

Version:

React components and hooks for @jim4565/dapp-wrapper with persistent wallet connection

46 lines 1.34 kB
import React from 'react'; /** * WalletStatus Props */ export interface WalletStatusProps { /** Show balance in the status */ showBalance?: boolean; /** Currency symbol for balance */ symbol?: string; /** Balance decimal places */ balanceDecimals?: number; /** Show full address instead of truncated */ showFullAddress?: boolean; /** Show connection status text */ showStatus?: boolean; /** Custom CSS class */ className?: string; /** Custom styles */ style?: React.CSSProperties; /** Orientation of the status display */ orientation?: 'horizontal' | 'vertical'; /** Size variant */ size?: 'small' | 'medium' | 'large'; } /** * WalletStatus - Professional wallet status display * * Shows current wallet connection state, address, balance, and other relevant information. * Provides different display modes and styling options. */ export declare const WalletStatus: React.FC<WalletStatusProps>; /** * Minimal WalletStatus - Simplified version */ export declare const WalletStatusMinimal: React.FC<{ className?: string; style?: React.CSSProperties; }>; /** * WalletStatusCard - Card-style display */ export declare const WalletStatusCard: React.FC<{ className?: string; style?: React.CSSProperties; }>; //# sourceMappingURL=WalletStatus.d.ts.map