Last active
April 24, 2019 11:01
-
-
Save jyash97/94f84cf4c964e6ea578920b2c2144339 to your computer and use it in GitHub Desktop.
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
<div className={container}> | |
<div className={resultWrapper}> | |
<Hits hitsPerPage={50} highlightFields={['title']} itemComponent={ResultCard} /> | |
</div> | |
<Pagination showNumbers /> | |
<NoHits | |
translations={{ | |
'NoHits.NoResultsFound': 'No movies found were found for {query}', | |
'NoHits.DidYouMean': 'Search for {suggestion}', | |
'NoHits.SearchWithoutFilters': 'Search for {query} without filters', | |
}} | |
suggestionsField="title" | |
/> | |
<InitialLoader component={() => <p>Loading</p>} /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment