Created
February 10, 2020 20:12
-
-
Save surajitbasak109/3313cb90e805107d798e1c039b80e3ee to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const SearchItemsList = ({ | |
searchItems, | |
}) => { | |
return ( | |
<ul className="list-group"> | |
{searchItems.map((item, idx) => ( | |
<li | |
className="list-group-item" | |
key={idx} | |
> | |
{item.name} | |
</li> | |
))} | |
</ul> | |
); | |
}; | |
| |
export default SearchItemsList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment