UNPKG

bigblocks

Version:

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

38 lines 1.27 kB
import React from "react"; import type { AuthStep } from "../../lib/types.js"; export type AuthFlowType = "unified" | "signin" | "signup" | "oauth-restore" | "device-link" | "import" | "custom"; export interface AuthFlowOrchestratorProps { flowType?: AuthFlowType; initialStep?: AuthStep; enableOAuth?: boolean; enableDeviceLink?: boolean; enableFileImport?: boolean; enableLocalBackup?: boolean; oauthProviders?: Array<{ id: string; name: string; icon: React.ReactNode; }>; onSuccess?: (user: { id: string; address: string; }) => void; onError?: (error: string) => void; onFlowChange?: (flow: AuthFlowType) => void; onStepChange?: (step: AuthStep) => void; onOAuthConflictResolved?: () => void; customLayout?: React.ComponentType<{ children: React.ReactNode; }>; renderCustomFlow?: () => React.ReactNode; showHeader?: boolean; showFooter?: boolean; layout?: "full" | "centered" | "none"; title?: string; subtitle?: string; className?: string; enableProfileSync?: boolean; debug?: boolean; } export declare const AuthFlowOrchestrator: React.FC<AuthFlowOrchestratorProps>; //# sourceMappingURL=AuthFlowOrchestrator.d.ts.map