mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Increased consistency and readability by replacing any unnecessary JSX expressions in places where string literals are sufficient
23 lines
384 B
TypeScript
23 lines
384 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;
|