ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
11 lines • 542 B
TypeScript
import * as React from 'react';
/**
* This component will inspect the registered resources and navigate to the first one for which users have access to the list page.
* @param props
* @param props.loading The component to display while the component is loading.
*/
export declare const NavigateToFirstResource: ({ loading: LoadingPage, }: NavigateToFirstResourceProps) => React.JSX.Element | undefined;
export type NavigateToFirstResourceProps = {
loading: React.ComponentType;
};
//# sourceMappingURL=NavigateToFirstResource.d.ts.map