import Link from 'next/link' import { useState } from 'react' import { Button, Input } from 'ui' import type { ServerOption } from './Wrappers.types' import { HelpCircle, Loader, Eye, EyeOff } from 'lucide-react' interface InputFieldProps { option: ServerOption loading: boolean error: any } const InputField = ({ option, loading, error }: InputFieldProps) => { const [showHidden, setShowHidden] = useState(!option.secureEntry) if (option.isTextArea) { return (
{option.label}
{option.urlHelper !== undefined && ({option.label}
{option.urlHelper !== undefined && (