bigbuffet-rw/packages/pl-fe/src/components/loading-screen.tsx
marcin mikołajczak 966b04fdf0 Call it pl-fe internally
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:41:08 +02:00

19 lines
520 B
TypeScript

import React from 'react';
import LandingGradient from 'pl-fe/components/landing-gradient';
import { Spinner } from 'pl-fe/components/ui';
/** Fullscreen loading indicator. */
const LoadingScreen: React.FC = () => (
<div className='fixed h-screen w-screen'>
<LandingGradient />
<div className='d-screen fixed z-10 flex w-screen items-center justify-center'>
<div className='p-4'>
<Spinner size={40} withText={false} />
</div>
</div>
</div>
);
export { LoadingScreen as default };