Skip to main content
Version: 1.0.0

IAppShieldProps

@spartanfx/react v1.0.0


@spartanfx/react / IAppShieldProps

Interface: IAppShieldProps

Props passed to the AppShield wrapper component for global app context initialization.

Properties

PropertyTypeDescription
customContext?anyOptional custom application-specific context.
customLoadingComponent?ElementDrop in your own loading component if you don’t like modals or want to match a brand style.
loadingModalProps?ILoadingModalPropsOptional props passed to the default loading modal.
onLoadingStateChanged?(loading) => anyOptional custom calback to manage custom loading state change. Disable the default loading animation if provided.
sp?SPFIInitialized SPFI instance for SharePoint communication.
webPartContextWebPartContextWeb part context provided by SPFx.