ヒット件数

1import React from 'react';
2import { InstantSearch } from 'react-instantsearch-dom';
3import { searchClient } from '../algolia/client';
4import CustomHits from '../components/custom-hits';
5import CustomStateResults from '../components/custom-state-results';
6
7const SearchStateResults = () => {
8  return (
9    <InstantSearch searchClient={searchClient} indexName="posts">
10      <div className="mb-4 border-b pb-4">
11        <CustomStateResults />
12      </div>
13      <CustomHits />
14    </InstantSearch>
15  );
16};
17
18export default SearchStateResults;