0.8.7 • Published 9 months ago
chainlink-algolia-search v0.8.7
chainlink-algolia-search
This package provides a search component that integrates with Algolia indexes.
To install:
npm install chainlink-algolia-searchInvoke the component (and the styles):
import { SearchButton } from "chainlink-algolia-search";
import aCardImgBackground from "./assets/card-background.png";
// Don't forget to import the styles as well!
import "chainlink-algolia-search/dist/index.css";
...
function App() {
return (
<>
<SearchButton
algoliaAppId="<your app ID here>"
algoliaPublicApiKey="<the public API key>"
categoryOrder={["Guide", "Video"]} // optional: priority list for showing the category filters
popularLinks={[ // optional: a list of popular links displayed on the default state modal
{ label: 'Example', url: 'https://example.com' },
]}
popularCards={[ // optional: a list of popular cards displayed on the default state modal (up to 2)
{ imgSrc: aCardImgBackground, label: 'Example', url: 'https://example.com' }
]}
/>
</>
);
}
export default App;0.8.7
9 months ago
0.8.6-2
9 months ago
0.8.6-1
9 months ago
0.8.6-0
9 months ago
0.8.4
9 months ago
0.7.2
10 months ago
0.8.0
9 months ago
0.7.1
10 months ago
0.8.3
9 months ago
0.8.2
9 months ago
0.7.3
10 months ago
0.6.3
10 months ago
0.6.2
10 months ago
0.7.0
10 months ago
0.6.1
10 months ago
0.6.0
10 months ago
0.3.0
10 months ago
0.2.0
10 months ago
0.5.4
10 months ago
0.5.3
10 months ago
0.5.5
10 months ago
0.5.0
10 months ago
0.4.1
10 months ago
0.4.0
10 months ago
0.5.2
10 months ago
0.5.1
10 months ago
0.4.2
10 months ago
0.1.0
10 months ago