LoadingPage

Full-page loading indicator. Alias for <Loading>. Used by ra-core as the loadingPage slot when bootstrapping the admin app.

Usage

import { LoadingPage } from "@/components/admin/loading-page";
 
const App = () => <LoadingPage />;

<LoadingPage> simply forwards its props to <Loading>. Use it any place ra-core expects a loadingPage component (for example as the loadingPage prop of <Admin>).

Props

PropRequiredTypeDefaultDescription
loadingPrimaryOptionalstringra.page.loadingMain heading i18n key.
loadingSecondaryOptionalstringra.message.loadingSecondary text key.
delayOptionalnumber1000Delay before showing the spinner (ms).