import { Box, CircularProgress, Typography } from '@mui/material'; import React from 'react'; import { useTranslation } from 'react-i18next'; interface LoadingViewProps { message?: string; } /** * Loading state component with spinner and messages */ export const LoadingView: React.FC = ({ message }) => { const { t } = useTranslation('agent'); return ( {message || t('Prompt.Loading')} {t('Prompt.AutoRefresh')} ); };