Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Head from 'next/head'
- export default (props) => (
- <div>
- <Head>
- <title>{props.title}</title>
- </Head>
- <>
- {props.content}
- </>
- <aside>
- <div>Layout by props (pass content components as custom props)</div>
- </aside>
- </div>
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement