react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
10 lines • 390 B
TypeScript
/**
* On the client side, hook to get the current locale and all related fields
*/
export declare const useLocaleBase: () => {
locale: import("intlayer").LocalesValues;
defaultLocale: import("intlayer").Locales;
availableLocales: import("intlayer").Locales[];
setLocale: (newLocale: import("intlayer").LocalesValues) => void;
};
//# sourceMappingURL=useLocaleBase.d.ts.map