@passflow/passflow-react-sdk
Version:
Passflow React UI Kit
10 lines • 758 B
TypeScript
import { AuthMethods } from '../get-auth-methods';
import { DefaultMethod } from '../../types';
import { InternalStrategyChallenge } from '@passflow/passflow-js-sdk';
export declare const getIdentityLabel: (methods: AuthMethods, type: "label" | "button") => "Email or username" | "Use email or username" | "Email" | "Use email" | "Username" | "Use username" | null;
export declare const getPasswordlessData: (methods: AuthMethods, currentMethod: DefaultMethod | null) => {
label: string;
challengeType: InternalStrategyChallenge;
} | null;
export declare const getValidationErrorsLabel: (methods: AuthMethods) => "Email or username is required" | "Email is required" | "Username is required" | "Field is required";
//# sourceMappingURL=index.d.ts.map