UNPKG

@0xfutbol/id

Version:

React component library with shared providers for 0xFutbol ID

26 lines (25 loc) 966 B
import { JSX } from "react"; import { WALLET_OPTIONS } from "@/providers"; interface AuthUIOrchestratorProps { claimComponent: (props: { error?: string; isLoading: boolean; isTakingLong: boolean; onClaimClick: (username: string, email?: string) => Promise<void>; onDisconnectClick: (walletKey: string) => void; }) => JSX.Element; waasComponent: (props: { isWaitingForSignature: boolean; onShowOtherOptions: () => void; onHideOtherOptions: () => void; showOtherOptions: boolean; }) => JSX.Element; otherOptionsComponent: (props: { WALLET_OPTIONS: typeof WALLET_OPTIONS; isWaitingForSignature: boolean; onConnectClick: (walletKey: string) => void; onHide: () => void; }) => JSX.Element; } export declare function AuthUIOrchestrator({ claimComponent, waasComponent, otherOptionsComponent }: AuthUIOrchestratorProps): JSX.Element; export {};