Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from "react";
import { connectPoweredBy } from "react-instantsearch/connectors";
// You can find alternative Algolia logos in their website: https://algolia.com/press#resources
import logo from "./images/algolia-logo.svg";
const SearchPoweredBy = connectPoweredBy(({ url }) => (
<div>
<span>Search by</span>
<a href="{url}">
<img draggable="false" alt="Algolia" src="{logo}">
</a>
</div>
));
export default SearchPoweredBy;