React

With Suspense

Used to surround your component with Suspense

withSuspense()

Import

import { withSuspense } from '@bprogress/react';

Type

function withSuspense<P extends object>(Component: ComponentType<P>): (props: P) => React.JSX.Element;

On this page