Function
LoadingState
({ message = '' }: LoadingStateProps)
Source from the content-addressed store, hash-verified
| 6 | } |
| 7 | |
| 8 | function 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 | |
| 21 | export default LoadingState |
Callers
nothing calls this directly
Tested by
no test coverage detected