'use client'; import * as React from 'react'; import { Eye, EyeOff, Lock } from 'lucide-react'; import * as Input from '@/components/ui/input'; type PasswordInputProps = Omit< React.ComponentPropsWithoutRef, 'type' > & { icon?: React.ComponentType<{ className?: string }> | null; rootClassName?: string; wrapperClassName?: string; toggleClassName?: string; visibilityIconClassName?: string; }; function PasswordInput({ icon: Icon = Lock, placeholder = '••••••••••', rootClassName, wrapperClassName, toggleClassName, visibilityIconClassName = 'text-text-soft-400 group-has-[disabled]:text-text-disabled-300 size-5', ...props }: PasswordInputProps) { const [showPassword, setShowPassword] = React.useState(false); return ( {Icon ? : null} ); } export { PasswordInput as Root };