(props)
| 76 | }; |
| 77 | |
| 78 | const BlogComponent = (props) => { |
| 79 | const { name, tags, date, imgSrc, link } = props.blog; |
| 80 | return ( |
| 81 | <Container variants={Item}> |
| 82 | <Box target="_blank" href={`${link}`}> |
| 83 | <Image $img={imgSrc} /> |
| 84 | <Title>{name}</Title> |
| 85 | <HashTags> |
| 86 | {tags.map((t, id) => { |
| 87 | return <Tag key={id}>#{t}</Tag>; |
| 88 | })} |
| 89 | </HashTags> |
| 90 | <Date>{date}</Date> |
| 91 | </Box> |
| 92 | </Container> |
| 93 | ); |
| 94 | }; |
| 95 | |
| 96 | export default BlogComponent; |
nothing calls this directly
no outgoing calls
no test coverage detected