import { useLanguage } from '../../../providers/language/LanguageContext';
import styles from '../ContentPreview.module.css';

export function LoadingRenderer() {
  const { t } = useLanguage();

  return (
    <div className={styles.loadingContainer}>
      <div className={styles.spinner}></div>
      <p>{t('files.preview.loading', 'Loading preview...')}</p>
    </div>
  );
}

