Making a reusable COMPONENTS #1880
Unanswered
amoorihesham
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
**When working with next-intl in a Next.js 15 application with TypeScript, ensuring proper autocompletion and type safety for translation **
i'm trying to make a reusable HeadingComponent That accept a localeNamespace and localeKey
this is my folder structure
this is my types
this is my comp implementation
this is the ts error message

Beta Was this translation helpful? Give feedback.
All reactions