UNPKG

react-intlayer

Version:

Easily internationalize i18n your React applications with type-safe multilingual content management.

17 lines 515 B
import type { LocalesValues } from '@intlayer/config/client'; /** * Get the locale cookie */ export declare const localeCookie: LocalesValues | undefined; /** * Set the locale cookie */ export declare const setLocaleCookie: (locale: LocalesValues) => void; /** * Hook that provides the locale cookie and a function to set it */ export declare const useLocaleCookie: () => { localeCookie: LocalesValues; setLocaleCookie: (locale: LocalesValues) => void; }; //# sourceMappingURL=useLocaleCookie.d.ts.map