Unverified Commit f13ca305 authored by Taylor Bryant's avatar Taylor Bryant Committed by GitHub

Add names to components in hello-world example (#12416)

parent a59a15dd
export default () => <div>About us</div> export default function AboutPage() {
return <div>About us</div>
}
export default () => <div>Hello Day</div> export default function DayPage() {
return <div>Hello Day</div>
}
import Link from 'next/link' import Link from 'next/link'
export default () => (
<div> export function IndexPage() {
Hello World.{' '} return (
<Link href="/about"> <div>
<a>About</a> Hello World.{' '}
</Link> <Link href="/about">
</div> <a>About</a>
) </Link>
</div>
)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment