import styles from "./search.module.scss"; const Search = ({ search, setSearch, handleClick }) => { function handleSearch(e) { const { name, value } = e.target setSearch({ ...search, [name]: value }) } return (
handleClick(1)} style={{ fontSize: "1.3rem" }}>
) } export default Search