Skip to content

Instantly share code, notes, and snippets.



Last active May 14, 2019
What would you like to do?
import React, { FunctionComponent } from 'react'
type Props = {
posts: readonly RedditPost[]
subreddit: string
const Posts: FunctionComponent<Props> = ({ posts, subreddit }) => (
<h1>Posts in "{subreddit}"</h1>
{ => (
<li key={}>{}</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.