From 6b1c97be23bab8fd508b890b4ee30e7ab5146b93 Mon Sep 17 00:00:00 2001 From: smastrom Date: Sun, 10 Dec 2023 03:35:32 +0100 Subject: [PATCH] update stackblitz next link --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c64fc39..9a00309 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ - Fully accessible with superlative keyboard controls - Forward any event and attribute to the `` element or control it with React Hook Form -[Demo and examples](https://@smastrom/react-email-autocomplete.netlify.app) — [Stackblitz](https://stackblitz.com/edit/react-4kufqv?file=src/App.js) — [NextJS](https://stackblitz.com/edit/nextjs-6ttxsv?file=pages%2F_app.js) +[Demo and examples](https://@smastrom/react-email-autocomplete.netlify.app) — [Stackblitz](https://stackblitz.com/edit/react-4kufqv?file=src/App.js) — [NextJS](https://stackblitz.com/edit/stackblitz-starters-f36nmm?file=app%2Fpage.tsx)
@@ -74,7 +74,7 @@ function App() {
NextJS App Router
-`src/components/Email.tsx` +`components/Email.tsx` ```tsx 'use client' @@ -407,7 +407,7 @@ function App() { Or with NextJS App router: -`src/components/Email.tsx` +`components/Email.tsx` ```tsx 'use client' @@ -416,7 +416,7 @@ import { Email as EmailAutocomplete, useLocalizedList, } from '@smastrom/react-email-autocomplete' -import { emailProviders } from '@/src/static/locales' +import { emailProviders } from '@/static/locales' export function Email({ lang }: { lang: string }) { const baseList = useLocalizedList(emailProviders, lang)