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 • 465 B
TypeScript
import * as React from 'react';
import { History } from 'history';
/**
* A router that accepts a custom history.
* To remove once https://github.com/remix-run/react-router/pull/7586 is merged.
*/
export declare function HistoryRouter({ basename, children, history, }: HistoryRouterProps): JSX.Element;
export interface HistoryRouterProps {
basename?: string;
children?: React.ReactNode;
history: History;
}
//# sourceMappingURL=HistoryRouter.d.ts.map