Created
April 25, 2020 18:21
-
-
Save mohnatus/208c3a926bbbacdc57f33850689d2cd6 to your computer and use it in GitHub Desktop.
Skeleton screens (React)
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
import React from "react"; | |
import Card from "./Card"; | |
const CardList = ({ list }) => { | |
return ( | |
<ul className="list"> | |
{list.items.map((item, index) => { | |
return <Card key={index} item={item} channel={list.channel} />; | |
})} | |
</ul> | |
); | |
}; | |
export default CardList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment