UNPKG

@slashid/react

Version:

React SDK for the /id platform

15 lines 644 B
import { Factor } from "@slashid/slashid"; import React, { Validator } from "react"; import { Handle, HandleType } from "../../domain/types"; import { TextConfigKey } from "../text/constants"; export declare const FACTOR_LABEL_MAP: Record<Exclude<Factor["method"], "webauthn_via_email" | "webauthn_via_sms">, TextConfigKey>; export type Props = { handleType: HandleType; factors: Factor[]; handleSubmit: (factor: Factor, handle: Handle) => void; validate?: Validator<string>; defaultValue?: string; showFactorsOnly?: boolean; }; export declare const HandleForm: React.FC<Props>; //# sourceMappingURL=handle-form.d.ts.map