Skip to content

Instantly share code, notes, and snippets.

@tgrecojs tgrecojs/index.js
Created Mar 12, 2018

Embed
What would you like to do?
import Banner from '../source/Banner/component';
import Post from '../source/Post/component';
import Link from 'next/link';
import { post1, post2, post3 } from '../Posts.tipe';
import Layout from '../source/Layout/component';
const App = () =>
<Layout>
<Banner />
<Post {postBody={post1.postBody} description={post1.description} _meta={post3._meta}}/>
<hr/>
<Post postBody={post2.postBody} description={post2.description} _meta={post3._meta}/>
<hr/>
<Post postBody={post3.postBody} description={post3.description} _meta={post3._meta}/>
</Layout>
export default App
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.