bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
24 lines • 779 B
TypeScript
/**
* HandCash Connector Component
*
* Provides a complete UI for connecting to HandCash with:
* - OAuth flow management
* - Callback handling
* - Error handling
* - Loading states
*/
import type { HandCashConfig, HandCashProfile } from "../../lib/handcash-provider.js";
interface HandCashConnectorProps {
config: HandCashConfig;
onSuccess?: (result: {
authToken: string;
profile: HandCashProfile;
idKey?: string;
encryptedBackup?: string;
}) => void;
onError?: (error: string) => void;
className?: string;
}
export declare function HandCashConnector({ config, onSuccess, onError, className, }: HandCashConnectorProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=HandCashConnector.d.ts.map