ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
12 lines • 468 B
TypeScript
import * as React from 'react';
import { ReactNode } from 'react';
import { I18nProvider } from '../types';
/**
* Store the i18nProvider in a context, and rerender children when the locale changes
*/
export declare const I18nContextProvider: ({ value, children, }: I18nContextProviderProps) => React.JSX.Element | null;
export interface I18nContextProviderProps {
value?: I18nProvider;
children: ReactNode;
}
//# sourceMappingURL=I18nContextProvider.d.ts.map