MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / LoadingBackdrop

Function LoadingBackdrop

src/Components/common.jsx:7–15  ·  view source on GitHub ↗
({forceOpen = false} = {})

Source from the content-addressed store, hash-verified

5import Draggable from "react-draggable";
6
7export function LoadingBackdrop({forceOpen = false} = {}) {
8 const navigation = useNavigation()
9 const loading = forceOpen || navigation.state !== 'idle';
10 return (
11 <Backdrop open={loading} sx={{zIndex: 99999}} transitionDuration={1000} style={{pointerEvents: "none"}}>
12 <CircularProgress color="inherit"/>
13 </Backdrop>
14 )
15}
16
17export const InlineTypography = styled(Typography)(() => ({
18 display: 'flex',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected