MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / LoadingState

Function LoadingState

frontend/src/components/commonUI/LoadingState.tsx:8–19  ·  view source on GitHub ↗
({ message = '' }: LoadingStateProps)

Source from the content-addressed store, hash-verified

6}
7
8function LoadingState({ message = '' }: LoadingStateProps) {
9 const { t } = useTranslation()
10 message = message || `${t('general.actions.loading')}...`
11 return (
12 <Center h="50dvh">
13 <VStack gap={4}>
14 <Spinner size="xl" color="blue.500" />
15 <Text color="gray.500">{message}</Text>
16 </VStack>
17 </Center>
18 )
19}
20
21export default LoadingState

Callers

nothing calls this directly

Calls 1

tFunction · 0.85

Tested by

no test coverage detected