"use client"; import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faClose } from "@fortawesome/free-solid-svg-icons"; // import styles from "./index.module.scss"; export default function OwnInput({ value, onChange, type = "text", name, placeholder, clearable, disabled = false, className, inputClassName = "", id, }) { return (
onChange(e.target?.value)} value={value} className={`w-full placeholder:text-[#FFFFFF80] ${inputClassName}`} style={{ fontSize: `16px!important` }} /> {clearable && value != "" && (
{ onChange && onChange(""); }} />
)}
); }