import { Eye,EyeOff } from "lucide-react";
import FormInput from "@/components/common/formInput";
import Button from "@/components/common/button";
import { useState } from "react";
import {Props} from "@/types/types"
import { signIn } from "next-auth/react";
export default function LoginForm({ onSuccess,onForgotPassword }: Props) {
const [showPassword, setShowPassword] = useState(false);// For Visibility of Password
return (
{/* Header text container */}
Sign in to your account
Use your registered work credentials.
{/* Field Elements */}
// Password Input
{/* Interactive options row */}
{/* Action on Button */}
{/* Divider */}
{/* Bottom Info */}
Protected by 2-factor auth • every sign-in is
audit-logged
);
}