UNPKG

bigblocks

Version:

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

25 lines 954 B
import type { ProfileInfo } from "../../lib/types.js"; export interface ProfileEditorProps { profile: ProfileInfo; onSave: (updates: Partial<ProfileInfo>) => Promise<void>; onCancel?: () => void; allowImageUpload?: boolean; maxNameLength?: number; maxDescriptionLength?: number; className?: string; variant?: "default" | "outline" | "ghost"; size?: "sm" | "default" | "lg"; } /** * ProfileEditor allows editing BAP profile information * * Features: * - Edit profile name, image URL, and description * - Avatar preview with fallback * - Character limits and validation * - Save/cancel actions * - Loading states * - Error handling */ export declare function ProfileEditor({ profile, onSave, onCancel, allowImageUpload: _allowImageUpload, maxNameLength, maxDescriptionLength, className, variant, size, }: ProfileEditorProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ProfileEditor.d.ts.map