UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

39 lines 1.78 kB
import type { BSVBalance } from "../wallet/types/wallet.js"; export interface ProfileDropdownMenuProps { /** Show wallet balance when available */ showWalletBalance?: boolean; /** Wallet balance data */ walletBalance?: BSVBalance; /** Exchange rate for fiat conversion */ exchangeRate?: number; /** Currency to display */ currency?: "BSV" | "USD"; /** Use menu icon instead of avatar when not authenticated */ useMenuIcon?: boolean; /** Custom trigger element */ trigger?: React.ReactNode; /** Show theme switcher in menu (only shown when authenticated) */ showThemeSwitch?: boolean; /** Callback when profile is viewed */ onViewProfile?: () => void; /** Callback when settings clicked */ onSettings?: () => void; /** Callback when wallet unlocked */ onWalletUnlocked?: () => void; /** Callback when create account clicked */ onCreateAccount?: () => void; /** Callback when sign in clicked */ onSignIn?: () => void; /** Additional menu items */ additionalItems?: React.ReactNode; /** Align dropdown menu */ align?: "start" | "center" | "end"; /** Side of dropdown */ side?: "top" | "right" | "bottom" | "left"; /** Sign out redirect URL */ signOutRedirectTo?: string; /** Show profile details in menu */ showProfileDetails?: boolean; } export declare function ProfileDropdownMenu({ showWalletBalance, walletBalance, exchangeRate, currency, useMenuIcon, trigger, showThemeSwitch, onViewProfile, onSettings, onWalletUnlocked, onCreateAccount, onSignIn, additionalItems, align, side, signOutRedirectTo, showProfileDetails, }: ProfileDropdownMenuProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ProfileDropdownMenu.d.ts.map