bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
28 lines • 1.17 kB
TypeScript
import React from "react";
import type { ProfileInfo } from "../../lib/types.js";
export interface ProfilePopoverProps {
profile: ProfileInfo;
onEdit?: () => void;
onSwitch?: () => void;
onViewDetails?: () => void;
children?: React.ReactNode;
align?: "start" | "center" | "end";
side?: "top" | "right" | "bottom" | "left";
className?: string;
openOnHover?: boolean;
}
/**
* ProfilePopover - A popover trigger that shows profile details
*
* Features:
* - Customizable trigger (defaults to avatar + name)
* - ProfileCard in popover content
* - Keyboard navigation support
* - Accessible with ARIA labels
*/
export declare function ProfilePopover({ profile, onEdit, onSwitch, onViewDetails, children, align, side, className, openOnHover, }: ProfilePopoverProps): import("react/jsx-runtime").JSX.Element;
/**
* ProfilePopoverCompact - A compact version with just avatar
*/
export declare function ProfilePopoverCompact({ profile, onEdit, onSwitch, onViewDetails, align, side, className, openOnHover, }: Omit<ProfilePopoverProps, "children">): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ProfilePopover.d.ts.map