component-library-mustafa-akagunduz
Version:
Air Command System projesi için geliştirilmiş React component kütüphanesi
23 lines (22 loc) • 629 B
TypeScript
import React from 'react';
import './LoginForm.css';
type TFunction = (key: string) => string;
export interface LoginFormProps {
onLogin: (credentials: {
userName: string;
password: string;
}) => Promise<{
success: boolean;
error?: string;
errorType?: string;
}>;
onThemeChange: () => void;
onLanguageChange: (language: string) => void;
currentTheme: 'light' | 'dark';
currentLanguage: string;
isLoading?: boolean;
validatePassword: (password: string) => boolean;
t: TFunction;
}
export declare const LoginForm: React.FC<LoginFormProps>;
export {};