Highlighting matched part in question search

This commit is contained in:
mrfry 2021-04-13 17:11:06 +02:00
parent f94b99e181
commit 1b3c07fce2
4 changed files with 48 additions and 27 deletions

View file

@ -73,7 +73,7 @@ export default function QuestionSearchResult({ data, searchTerm }) {
<div>
<div>{renderCount()}</div>
<div>
<Questions subjs={subjs} />
<Questions subjs={subjs} searchTerm={searchTerm} />
</div>
</div>
)