Skip to content

Instantly share code, notes, and snippets.

@williamegomezo
Last active March 23, 2020 18:58
import SearchIcon from "public/icons/search.svg";
function SearchBar(props) {
const { placeholder } = props;
return (
<div>
<SearchIcon />
<input placeholder={placeholder} />
</div>
);
}
export default SearchBar;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment