UNPKG

@passflow/passflow-react-sdk

Version:
10 lines 758 B
import { DefaultMethod } from '../../types'; import { InternalStrategyChallenge } from '@passflow/passflow-js-sdk'; import { AuthMethods } from '../get-auth-methods'; 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