import { Eye,EyeOff } from "lucide-react"; import FormInput from "@/utils/formInput"; import Button from "@/utils/button"; import { useState } from "react"; import {Props} from "@/constants/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 */}
or
{/* Bottom Info */}

Protected by 2-factor auth • every sign-in is
audit-logged

); }