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