"use client"; import * as React from "react"; import { cn } from "@/lib/utils"; import { Input } from "./input"; import { Button } from "./button"; import { EyeIcon, EyeOffIcon } from "lucide-react"; export const PasswordInput = React.forwardRef< HTMLInputElement, React.ComponentProps<"input"> >(({ className, ...props }, ref) => { const [showPassword, setShowPassword] = React.useState(false); return (
{/* hides browsers password toggles */}
); }); PasswordInput.displayName = "PasswordInput";