UNPKG

ra-core

Version:

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

22 lines 884 B
/// <reference types="react" /> import { QueryClient } from 'react-query'; import { History } from 'history'; import { Store } from '../store'; import { AuthProvider, LegacyAuthProvider, I18nProvider, DataProvider, AdminChildren, DashboardComponent, LegacyDataProvider } from '../types'; export interface CoreAdminContextProps { authProvider?: AuthProvider | LegacyAuthProvider; basename?: string; children?: AdminChildren; dashboard?: DashboardComponent; dataProvider?: DataProvider | LegacyDataProvider; store?: Store; queryClient?: QueryClient; /** * @deprecated Wrap your Admin inside a Router to change the routing strategy */ history?: History; i18nProvider?: I18nProvider; theme?: object; } export declare const CoreAdminContext: (props: CoreAdminContextProps) => JSX.Element; //# sourceMappingURL=CoreAdminContext.d.ts.map