Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
806 B
Plaintext
17 lines
806 B
Plaintext
/**
|
|
* This is the main entry file when non-'react-server'
|
|
* environments import from 'next-intl'.
|
|
*
|
|
* Maintainer notes:
|
|
* - Make sure this mirrors the API from 'react-server'.
|
|
* - Make sure everything exported from this module is
|
|
* supported in all Next.js versions that are supported.
|
|
*/
|
|
import { useFormatter as base_useFormatter, useTranslations as base_useTranslations } from 'use-intl';
|
|
export * from 'use-intl/core';
|
|
export { IntlProvider, useLocale, useNow, useTimeZone, useMessages } from 'use-intl/react';
|
|
export { _useExtracted as useExtracted } from 'use-intl/react';
|
|
export declare const useTranslations: typeof base_useTranslations;
|
|
export declare const useFormatter: typeof base_useFormatter;
|
|
export { default as NextIntlClientProvider } from '../shared/NextIntlClientProvider.js';
|