mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
* Auto-format frontend * Update lint-frontend GA workflow node and checkout * Fix linter error in ThemeChanger * Add a `on: pull_request` to lint-frontend workflow Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
23 lines
388 B
TypeScript
23 lines
388 B
TypeScript
import { Flex, Spinner } from '@chakra-ui/react';
|
|
|
|
const Loading = () => {
|
|
return (
|
|
<Flex
|
|
width={'100vw'}
|
|
height={'100vh'}
|
|
alignItems="center"
|
|
justifyContent="center"
|
|
>
|
|
<Spinner
|
|
thickness="2px"
|
|
speed="1s"
|
|
emptyColor="gray.200"
|
|
color="gray.400"
|
|
size="xl"
|
|
/>
|
|
</Flex>
|
|
);
|
|
};
|
|
|
|
export default Loading;
|