RouteProgress
RouteProgress is a thin loading bar fixed to the top of the viewport. Pass loading from the router; the bar creeps while work is in flight, then finishes and fades.
import { RouteProgress } from '@lobehub/ui/dashboard';Navigation
Default
Loading preview
APIs
RouteProgress properties
loadingbooleanWhile true, the bar creeps toward the end. When it becomes false, the bar finishes and fades.
Defaults to
false.
Helpful?