ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
9 lines • 491 B
TypeScript
import type { ReactNode } from 'react';
export declare const useResourceTranslation: (params: UseResourceTranslationOptions) => string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null;
export interface UseResourceTranslationOptions {
resourceI18nKey: string;
baseI18nKey: string;
userText?: ReactNode;
options?: Record<string, any>;
}
//# sourceMappingURL=useResourceTranslation.d.ts.map