import "./Field.styles.scss";
function Field({ type, name, placeholder, icon }) {
const className = type === "submit" ? "submit btn"
: type === "textarea" ? "field big"
: "field";
return (
<>
{type === "textarea" ? (
) : type === "file" ? (
) : (
)}
>
);
}
export default Field;