UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

13 lines 379 B
/** * Get the i18nProvider instance declared in the <Admin> component * * @example * * const CurrentLanguage = () => { * const i18nProvider = useI18nProvider(); * const locale = i18nProvider.getLocale(); * return <span>{locale}</span>; * }; */ export declare const useI18nProvider: () => import("..").I18nProvider; //# sourceMappingURL=useI18nProvider.d.ts.map