UNPKG

@refinedev/core

Version:

Refine is a React meta-framework for building enterprise-level, data-intensive applications rapidly with support for modern UI libraries and headless integrations.

11 lines 498 B
/** * If you need to translate the texts in your own components, refine provides the `useTranslate` hook. * It returns the translate method from `i18nProvider` under the hood. * * @see {@link https://refine.dev/docs/api-reference/core/hooks/translate/useTranslate} for more details. */ export declare const useTranslate: () => { (key: string, options?: any, defaultMessage?: string): string; (key: string, defaultMessage?: string): string; }; //# sourceMappingURL=useTranslate.d.ts.map