Installation
Installation
Section titled “Installation”- Install Sonner and next-intl as usual if not already installed
Terminal window npm install sonner next-intlTerminal window pnpm install sonner next-intlTerminal window yarn install sonner next-intl - Set up next-intl in your project. Read more about this in their guide
- Install this package
Terminal window npm install sonner-next-intlTerminal window pnpm install sonner-next-intlTerminal window yarn install sonner-next-intl
Add this wrapper package to your project (either as a local module or published package). For the rest of this doc we assume you have access to: createUseTranslatedToast and SonnerNextIntlProvider from the package.