LoadingDiv
3p-core / LoadingDiv
Variable: LoadingDiv
const
LoadingDiv:React.FunctionComponent
<ILoadingDivProps
>
A reusable wrapper component for showing a loading spinner or image overlay on top of any child content.
This is especially useful in forms, data views, or parts of SPFx web parts where asynchronous loading states need to be communicated to the user.
Example
<LoadingDiv loading={isLoading} message="Loading items..." imageUrl="/assets/loading.svg">
<ListView />
</LoadingDiv>