@refinedev/core
Version:
refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.
8 lines • 386 B
text/typescript
/**
* If you need to change the locale at runtime, refine provides the `useSetLocale` hook.
* It returns the changeLocale method from `i18nProvider` under the hood.
*
* @see {@link https://refine.dev/docs/api-reference/core/hooks/translate/useSetLocale} for more details.
*/
export declare const useSetLocale: () => (lang: string) => any;
//# sourceMappingURL=useSetLocale.d.ts.map