From 71aa01902b329968be6e38d07d762b89487ab3fc Mon Sep 17 00:00:00 2001 From: Neeraj Dalal Date: Sat, 19 Feb 2022 02:45:25 +0530 Subject: [PATCH] Updated head, img -> Image, type { NextPage } as default next-app (#34513) Everything updated in accordance to latest yarn create next-app ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> --- examples/with-tailwindcss/pages/index.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/with-tailwindcss/pages/index.tsx b/examples/with-tailwindcss/pages/index.tsx index 6efe2057f183..94e17a5facfb 100644 --- a/examples/with-tailwindcss/pages/index.tsx +++ b/examples/with-tailwindcss/pages/index.tsx @@ -1,6 +1,8 @@ +import type { NextPage } from 'next' import Head from 'next/head' +import Image from 'next/image' -export default function Home() { +const Home: NextPage = () => { return (
@@ -68,15 +70,17 @@ export default function Home() {
) } + +export default Home