UNPKG

@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.

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