import { useState, type ComponentProps } from 'react'; import { Eye, EyeOff } from 'lucide-react'; import { Input } from '@/components/ui/input'; import { cn } from '@/lib/utils'; type Props = ComponentProps; /** 带显示/隐藏切换的密码输入 */ export default function AuthPasswordInput({ className, ...props }: Props) { const [visible, setVisible] = useState(false); return (
); }