Mirror of https://github.com/roostorg/coop
github.com/roostorg/coop
1import ComponentLoading from './ComponentLoading';
2
3/**
4 * Full screen centered loading indicator with a delay of 500ms
5 */
6export default function FullScreenLoading(props: {
7 size?: 'small' | 'default' | 'large';
8}) {
9 const { size = 'large' } = props;
10
11 return (
12 <div className="flex flex-col self-center justify-center h-full">
13 <ComponentLoading size={size} />
14 </div>
15 );
16}