UNPKG

@proveanything/smartlinks-auth-ui

Version:

Lightweight React authentication UI components with bearer token support and Smartlinks SDK integration

15 lines 491 B
import React from 'react'; import type { AuthFormData, ClaimField } from '../types'; import './AuthForm.css'; interface EmailAuthFormProps { mode: 'login' | 'register'; onSubmit: (data: AuthFormData) => Promise<void>; onModeSwitch: () => void; onForgotPassword: () => void; loading: boolean; error?: string; additionalFields?: ClaimField[]; } export declare const EmailAuthForm: React.FC<EmailAuthFormProps>; export {}; //# sourceMappingURL=EmailAuthForm.d.ts.map