You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filling in the <input /> element to build the search bar
onChange={props.handleChange}
className='SearchBar'
<inputclassName='SearchBar'type='text'id='header-search'placeholder='Search Manga Titles'name='Search Bar for Manga Titles'onChange={props.handleChange}/>
src/components/ResultList.js
Finishing the ResultList component to output the list of records by using map function on searchResults
Inside we would return JSX: return <li key={resultRecord.uniqueKey}><b className='TitleBold'>{resultRecord.title}</b> written by {resultRecord.author}</li>
<ul>{props.searchResults.map(function(resultRecord){return<likey={resultRecord.uniqueKey}><bclassName='TitleBold'>{resultRecord.title}</b> written by {resultRecord.author}</li>})}</ul>