import * as React from "react" import { Eye, EyeOff } from "lucide-react" import { cn } from "@/lib/utils" export interface PasswordInputProps extends React.ComponentProps<"input"> { label?: string error?: string } const PasswordInput = React.forwardRef( ({ className, label, error, ...props }, ref) => { const [showPassword, setShowPassword] = React.useState(false) const togglePasswordVisibility = () => { setShowPassword((prev) => !prev) } return (
) } ) PasswordInput.displayName = "PasswordInput" export { PasswordInput }