This repository has been archived on 2026-07-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cloud-reader/frontend/src/components/reader/ReaderLoadingScreen.tsx
T
2026-06-04 06:42:27 -05:00

16 lines
390 B
TypeScript

import { useTranslation } from "react-i18n-lite";
interface ReaderLoadingScreenProps {
showMessage?: boolean;
}
export function ReaderLoadingScreen({ showMessage = true }: ReaderLoadingScreenProps) {
const { t } = useTranslation();
return (
<div className="reader-loading">
<div className="spinner" />
{showMessage && <p>{t("reader.loading")}</p>}
</div>
);
}