Style bug hotfix and Loader testing
This commit is contained in:
21
src/components/Loading.tsx
Normal file
21
src/components/Loading.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Center, Loader, Stack } from '@mantine/core';
|
||||
import { stackClasses } from 'styles';
|
||||
|
||||
function Loading({ loaded }: any) {
|
||||
return (
|
||||
<Stack
|
||||
align='center'
|
||||
justify='center'
|
||||
pos={'fixed'}
|
||||
className={stackClasses.fadeAway}
|
||||
classNames={stackClasses}
|
||||
data-loaded={loaded}
|
||||
>
|
||||
<Center>
|
||||
<Loader color={'gray'} size='xl' />
|
||||
</Center>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
export default Loading;
|
||||
Reference in New Issue
Block a user