'use client'; export default function FormInput({ label, value, onChange, placeholder, type = "text", required = false, helperText , styleEl='' }) { return (
onChange(e.target.value)} className={`${styleEl} w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500 `} /> {helperText && (

{helperText}

)}
); }