import { Eye, EyeOff } from 'lucide-react'; import type { ComponentProps, Ref } from 'react'; import { useState } from 'react'; import { Input } from '@/components/ui/input'; import { useTranslation } from '@/lib/translations'; import { cn } from '@/lib/utils'; export default function PasswordInput({ className, ref, ...props }: Omit, 'type'> & { ref?: Ref }) { const [showPassword, setShowPassword] = useState(false); const { t } = useTranslation(); return (
); }