import { useState } from "react"; import { Eye, EyeOff } from "lucide-react"; interface SettingsInputProps { id?: string; type?: "text" | "password" | "url" | "number"; value: string; onChange: (value: string) => void; placeholder?: string; disabled?: boolean; className?: string; } export function SettingsInput({ id, type = "text", value, onChange, placeholder, disabled, className = "" }: SettingsInputProps) { const [showPassword, setShowPassword] = useState(false); const isPassword = type === "password"; return (