({forceOpen = false} = {})
| 5 | import Draggable from "react-draggable"; |
| 6 | |
| 7 | export 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 | |
| 17 | export const InlineTypography = styled(Typography)(() => ({ |
| 18 | display: 'flex', |
nothing calls this directly
no outgoing calls
no test coverage detected