"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, className, }) { return (
onChange(e.target?.value)} value={value} className="text-[#ffffff] w-full text-[16px] placeholder:text-[#FFFFFF80]" /> {clearable && value != "" && (
{ onChange && onChange(""); }} />
)}
); }