Created
June 2, 2018 15:21
-
-
Save dance2die/56d863a786182fc7a853084d5005a159 to your computer and use it in GitHub Desktop.
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
const storiesComponents = stories | |
... | |
return ( | |
<Story key={node.id}> | |
<Rank>{rank}</Rank> | |
<Content> | |
<Body> | |
<TitleLink href={titleUrl}>{title}</TitleLink> | |
{host ? <HostLink href={`//${host}`}>({host})</HostLink> : null} | |
</Body> | |
<Meta> | |
{score} points by {by} [<Time date={date} />] | |
<HostLink href={`${commentLink}`}>[comments]</HostLink> | |
</Meta> | |
</Content> | |
</Story> | |
) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment