bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
44 lines • 1.7 kB
TypeScript
import React from "react";
import type { ProfileInfo } from "../../lib/types.js";
export interface ProfileCardMenuItem {
label: string;
onClick: () => void;
icon?: React.ReactNode;
color?: "red" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "gray";
}
export interface ProfileCardStatus {
label: string;
color?: "red" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "gray";
variant?: "soft" | "solid" | "outline" | "surface";
}
export interface ProfileCardProps {
profile: ProfileInfo;
showActions?: boolean;
onEdit?: () => void;
onSwitch?: () => void;
onViewDetails?: () => void;
menuItems?: ProfileCardMenuItem[];
status?: ProfileCardStatus;
compact?: boolean;
variant?: "surface" | "classic" | "ghost";
size?: "1" | "2" | "3" | "4" | "5";
showFullDetails?: boolean;
className?: string;
style?: React.CSSProperties;
noWrapper?: boolean;
}
/**
* ProfileCard supporting full schema.org Person/Organization structure
*
* Features:
* - Complete schema.org field support (name, email, url, location, etc.)
* - Person vs Organization type detection
* - Rich contact information display
* - Location and address handling
* - Bitcoin-specific fields (paymail, address)
* - Beautiful avatar with BitcoinImage wrapper
* - Scrollable bio section
* - Responsive design with multiple variants
*/
export declare function ProfileCard({ profile, showActions, onEdit, onSwitch, onViewDetails, menuItems, status, compact, variant, size, showFullDetails, className, style, noWrapper, }: ProfileCardProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ProfileCard.d.ts.map