ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
17 lines • 588 B
TypeScript
import { ReactNode } from 'react';
/**
* This component allows you to provide custom routes to the Admin.
* @param props The component props
* @param props.children The custom routes.
* @param props.noLayout A boolean indicating whether to render the routes outside the Layout. Defaults to false.
* @returns Nothing. This is a configuration component.
*/
export declare const CustomRoutes: {
(_props: CustomRoutesProps): null;
raName: string;
};
export type CustomRoutesProps = {
children: ReactNode;
noLayout?: boolean;
};
//# sourceMappingURL=CustomRoutes.d.ts.map