UNPKG

strapi-plugin-firebase-authentication

Version:

Allows easy integration between clients utilizing Firebase for authentication and Strapi

18 lines (17 loc) 891 B
import React from "react"; import "react-phone-input-2/lib/style.css"; import { User } from "../../../../../../model/User"; interface UserFormFieldsProps { userData: Partial<User>; onTextInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void; onPhoneChange: (value: string | undefined) => void; onToggleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void; onEmailBlur?: (e: React.FocusEvent<HTMLInputElement>) => void; emailError: string | null; phoneError: string | null; showPasswordHint?: boolean; isPasswordRequired?: boolean; hasBeenTouched?: boolean; } export declare const UserFormFields: ({ userData, onTextInputChange, onPhoneChange, onToggleInputChange, onEmailBlur, emailError, phoneError, showPasswordHint, isPasswordRequired, hasBeenTouched, }: UserFormFieldsProps) => import("react/jsx-runtime").JSX.Element; export {};