react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
10 lines • 341 B
TypeScript
import type { Locales } from '@intlayer/config/client';
/**
* On the server side, Hook that picking one dictionary by its key and return the content
*
* If the locale is not provided, it will use the locale from the server context
*/
export declare const useLocale: () => {
locale: Locales;
};
//# sourceMappingURL=useLocale.d.ts.map