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'
export default () => (
<div>
Hello World.{' '}
<Link href="/about">
<a>About</a>
</Link>
</div>
)
export function IndexPage() {
return (
<div>
Hello World.{' '}
<Link href="/about">
<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