bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
27 lines • 1.19 kB
TypeScript
import type { ProfileInfo } from "../../lib/types.js";
export interface ProfileSwitcherProps {
profiles: ProfileInfo[];
activeProfileId: string;
onSwitch: (profileId: string) => void;
onCreate?: () => void;
maxProfiles?: number;
className?: string;
size?: "1" | "2" | "3" | "4";
variant?: "solid" | "soft" | "ghost" | "surface";
}
/**
* ProfileSwitcher allows switching between multiple BAP profiles
*
* Features:
* - Dropdown menu with all available profiles
* - Active profile indication
* - Create new profile option
* - Profile avatar and details
* - Published/unpublished status badges
*/
export declare function ProfileSwitcher({ profiles, activeProfileId, onSwitch, onCreate, maxProfiles, className, size, variant, }: ProfileSwitcherProps): import("react/jsx-runtime").JSX.Element;
/**
* ProfileSwitcherCompact - A more compact version for space-constrained areas
*/
export declare function ProfileSwitcherCompact({ profiles, activeProfileId, onSwitch, className, }: Pick<ProfileSwitcherProps, "profiles" | "activeProfileId" | "onSwitch" | "className">): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ProfileSwitcher.d.ts.map