UNPKG

@0xfutbol/id

Version:

React component library with shared providers for 0xFutbol ID

24 lines (23 loc) 815 B
type UseWaasPasswordFlowParams = { waasBaseUrl?: string; initialUsername?: string; onUsernameChange?: (username: string) => void; }; export declare function useWaasPasswordFlow({ waasBaseUrl, initialUsername, onUsernameChange }: UseWaasPasswordFlowParams): { checking: boolean; error: string | undefined; exists: boolean | undefined; hint: string; introCopy: string; loading: boolean; password: string; passwordConfirm: string; setPassword: import("react").Dispatch<import("react").SetStateAction<string>>; setPasswordConfirm: import("react").Dispatch<import("react").SetStateAction<string>>; setUsername: (value: string) => void; stage: "username" | "password"; reset: () => void; submit: () => Promise<void>; username: string; }; export {};