Created
May 23, 2019 10:14
-
-
Save ajubin/4608c0ac901b9f2d1f2d5f3b59201ffa to your computer and use it in GitHub Desktop.
add-algolia.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const InfiniteHits = connectInfiniteHits(InfiniteHitsComponent); | |
export const SearchBox = connectSearchBox(({ refine, currentRefinement }) => ( | |
<SearchBoxComponent | |
onChangeText={text => refine(text)} | |
value={currentRefinement} | |
/> | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment